Merge lp:~cprov/charms/precise/rabbitmq-server/rabbit-admin into lp:charms/rabbitmq-server
Proposed by
Celso Providelo
Status: | Merged |
---|---|
Merged at revision: | 57 |
Proposed branch: | lp:~cprov/charms/precise/rabbitmq-server/rabbit-admin |
Merge into: | lp:charms/rabbitmq-server |
Diff against target: |
29 lines (+4/-3) 1 file modified
hooks/rabbitmq_server_relations.py (+4/-3) |
To merge this branch: | bzr merge lp:~cprov/charms/precise/rabbitmq-server/rabbit-admin |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Butler (community) | Approve | ||
James Page | Approve | ||
Tom Haddon | Pending | ||
Review via email: mp+233205@code.launchpad.net |
Description of the change
This branch extends the amqp relationship to support an optional parameter 'admin'. If it's present and non-empty the context user will be created/update with admin rights.
The motivation for this branch is to allow joined instances to access the management-plugin API (e.g. http://<rabbit>
It's unfortunate, to say the least, that we have to grant unrestricted admin rights for performing read-only diagnose/monitoring requests, but the management-plugin does not seem to offer any other alternative.
To post a comment you must log in.
Callsite example available in https:/ /code.launchpad .net/~cprov/ uci-engine/ webui-rabbit- credentials/ +merge/ 233037