Auto-tools/Projects/Pulse: Difference between revisions

Jump to navigation Jump to search
Line 63: Line 63:
* Only the user that created a particular queue should be allowed to consume from it.
* Only the user that created a particular queue should be allowed to consume from it.


Since exchange and queue permissions go together, we'll need exchange and queue naming conventions mixed with restrictive permissions.  Each publishing user, in addition to being restricted to a particular vhost, will also be restricted to a particular set of exchange names.  For example, the BuildBot publisher will have permissions of <code>"^org.mozilla.exchange.build*" "^org.mozilla.exchange.build*" "^org.mozilla.exchange.build*"</code>.  Similarly, we'll need a name convention for queues, e.g. org.mozilla.queue.<username>.*.  This will both prevent consumer users from writing to exchanges as well as prevent them from consuming from the queues of other users.
Since exchange and queue permissions go together, we'll need exchange and queue naming conventions mixed with restrictive permissions.  Each publishing user, in addition to being restricted to a particular vhost, will also be restricted to a particular set of exchange names.  For example, the BuildBot publisher will have permissions of <code>"^org.mozilla.exchange.build*" "^org.mozilla.exchange.build*" "^org.mozilla.exchange.build*"</code>.  Similarly, we'll need a name convention for queues, e.g. org.mozilla.queue.<username>.<applabel>.  This will both prevent consumer users from writing to exchanges as well as prevent them from consuming from the queues of other users.  For convenience, if a consumer creates a nondurable queue, mozillapulse can assign a random suffix to the user's standard queue name prefix, i.e. org.mozilla.queue.<username>.<random string>, since the user wouldn't be able to create nor access a completely random server-assigned name.


=== Admin Procedures ===
=== Admin Procedures ===
Confirmed users
1,927

edits

Navigation menu