[rabbitmq-discuss] User Permissions

nybras brettflitter at gmail.com
Tue Jan 29 11:01:26 GMT 2013


That's great thank you very much. So if I wanted allow my users to only:

queue.bind
queue.unbind
basic.get
basic.consume

Would I create a user account (say 'users') and fill in regex parts (i'm
creating this in the Management Plugin)
Write regexp = '^amq\.queue.bind|amq\.queue.unbind$'
Read regexp = '^amq\.basic.get|amq\.basic.consume$'

???
Or have I completely misunderstood this?

My app is a publish/subscribe scenario where each user has their very own
queue with multiple binds to various exchanges (the producers). I'm guessing
to allow users to only consume from their own queue I would have to create a
user account for each user of the app. Or I could randomly generate queue
names for each user so that these queue names could not be guessed (which
would be secure enough)??



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/User-Permissions-tp24702p24742.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list