diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-01-27 21:57:29 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-01-27 21:57:29 +0000 |
commit | 9246651bd4a753d1858041042683b6a2c52fe01d (patch) | |
tree | bf473d22da7016beec16e4a132156d4d403e80bc /include | |
parent | 765bcb3c35de6a2afcb6deb6a24cd270f892d947 (diff) | |
download | rabbitmq-server-9246651bd4a753d1858041042683b6a2c52fe01d.tar.gz |
refine permission structurebug20288
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 8aba8a6f..c707112f 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -30,7 +30,7 @@ %% -record(user, {username, password}). --record(permission, {configuration, messaging}). +-record(permission, {configure, write, read}). -record(user_vhost, {username, virtual_host}). -record(user_permission, {user_vhost, permission}). @@ -92,8 +92,9 @@ #user{username :: username(), password :: password()}). -type(permission() :: - #permission{configuration :: regexp(), - messaging :: regexp()}). + #permission{configure :: regexp(), + write :: regexp(), + read :: regexp()}). -type(amqqueue() :: #amqqueue{name :: queue_name(), durable :: bool(), |