<div dir="ltr"><div><div><div>Hi Simon,<br><br></div>Thanks for your reply .<br></div>I have gone through the links provided but still not able to achieve my goal.<br></div><div>1) i want to create a user who can make call to api for aliveness test and querying queues.<br>
</div><div>i am setting permission like <br><br>rabbitmqctl set_permissions -p / monitor "^(.\.aliveness-test.*)$" "^(.\.aliveness-test.*)$" ".*"<br><br></div><div>but still getting the error that <br>
"error":"not_authorised","reason":"ACCESS_REFUSED - access to queue 'aliveness-test' in vhost '/' refused for user 'monitor'"<br><br><br></div><div>can you please direct me about how to create a user with specific permissions on a specific resource .<br>
<br><br><br></div><div>Thanks<br>Saurabh Sharma<br></div><div><br></div><div><br><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 19, 2013 at 6:32 PM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you read <a href="http://www.rabbitmq.com/access-control.html" target="_blank">http://www.rabbitmq.com/<u></u>access-control.html</a> and <a href="http://www.rabbitmq.com/management.html#permissions" target="_blank">http://www.rabbitmq.com/<u></u>management.html#permissions</a>?<br>
<br>
Cheers, Simon<div><div class="h5"><br>
<br>
On 19/12/13 12:53, Saurabh Sharma wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
I am working on an application where i want different users for<br>
different tasks.<br>
1)I want a user who can publish/consume messages and ack/nack them but<br>
not able to create queue on server . I am able to create this user by<br>
giving read and write rights and No configure rights.<br>
How can i only define rules that i only need user to have<br>
queue.publish<br>
queue.consume<br>
queue.get<br>
<br>
(basically how to create a user only with specific commands)<br>
permissions and not the other permission .<br>
<br>
2) I want to hit the Management plugin api for some purpose and it uses<br>
authentication.<br>
What kind of user should i create to use the api<br>
a) read only [not able to hit the api]<br>
b) read and write [not able to hit the api]<br>
c) read , write , configure [able to hit the api]<br>
<br>
if i create the aliveness-test queue on the server by a superuser , will<br>
i be able to hit the api in all other cases [if the queue exist] using a<br>
read only user.<br>
<br>
<br>
<br>
Thanks and Regards<br>
Saurabh Sharma<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br></div>