diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-06-09 15:30:06 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-06-09 15:30:06 +0100 |
commit | 51fb33b6a5814c55872ead051be665ad4a61ac8e (patch) | |
tree | b455a66355d367f6f024894eb6fdf90913774c08 /src/rabbit_auth_backend.erl | |
parent | 30de0b6a35945cab02e95c5ab627ee5e61874b8d (diff) | |
download | rabbitmq-server-51fb33b6a5814c55872ead051be665ad4a61ac8e.tar.gz |
Since we're changing the backend API anyway, let's remove this management-specific wart.
Diffstat (limited to 'src/rabbit_auth_backend.erl')
-rw-r--r-- | src/rabbit_auth_backend.erl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rabbit_auth_backend.erl b/src/rabbit_auth_backend.erl index 09820c5b..ade158bb 100644 --- a/src/rabbit_auth_backend.erl +++ b/src/rabbit_auth_backend.erl @@ -36,17 +36,13 @@ behaviour_info(callbacks) -> %% Client failed authentication. Log and die. {check_user_login, 2}, - %% Given #user, vhost path and permission, can a user access a vhost? - %% Permission is read - learn of the existence of (only relevant for - %% management plugin) - %% or write - log in - %% + %% Given #user and vhost, can a user log in to a vhost? %% Possible responses: %% true %% false %% {error, Error} %% Something went wrong. Log and die. - {check_vhost_access, 3}, + {check_vhost_access, 2}, %% Given #user, resource and permission, can a user access a resource? %% |