diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-14 10:56:38 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-14 10:56:38 +0100 |
| commit | 1849d6af7ea940f557a643c30ff67e091a3f863e (patch) | |
| tree | e195e6cb6c9a62b97e96c8e741daa47144734322 /include | |
| parent | 74a64a59adc4515f08c7a61034be9ec6bad08210 (diff) | |
| download | rabbitmq-server-git-1849d6af7ea940f557a643c30ff67e091a3f863e.tar.gz | |
added a flag to set_permissions to control their scope
set_permissions -check_user_named is the default and checks
permissions only for user named permissions. I.e. server generated
names are not checked.
set_permissions -check_all_resources enables the check for server
generated names.
I had to shorten the argument names in the man page because otherwise
the set_permissions line would have exceeded 80 characters.
All parameters passed from rabbit_control to rabbit_access_control are
binary(), hence why we're passing <<"check_user_name">> rather than
'check_user_named'.
Rabbit_access_control:set_permissions now takes 6 parameters. There's
also a 5 parameter version that sets the default value for Check and
calls the other one. I've added it because I don't want the default
value for Check in 10 different places.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
