summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-12-14 15:03:44 +0000
committerSimon MacMullen <simon@rabbitmq.com>2010-12-14 15:03:44 +0000
commit6d1fdf67b8ff93d9f679824fbc98edb89aa709ba (patch)
tree21c7bf2e7832d280cc756b44150df3802999b156 /include/rabbit.hrl
parent5d421ea6b12f84f77d2cf918952cad89186ec00f (diff)
parentefb8bda30a51fa0ef371814df8d8b48c0373a8e5 (diff)
downloadrabbitmq-server-git-6d1fdf67b8ff93d9f679824fbc98edb89aa709ba.tar.gz
Merge from default
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index fccfad9708..e5fceaed4d 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -29,7 +29,13 @@
%% Contributor(s): ______________________________________.
%%
--record(user, {username, password_hash, is_admin}).
+-record(user, {username,
+ is_admin,
+ auth_backend, %% Module this user came from
+ impl %% Scratch space for that module
+ }).
+
+-record(internal_user, {username, password_hash, is_admin}).
-record(permission, {configure, write, read}).
-record(user_vhost, {username, virtual_host}).
-record(user_permission, {user_vhost, permission}).