--- a/mod_data_access/mod_data_access.lua Wed May 22 12:40:55 2013 +0100
+++ b/mod_data_access/mod_data_access.lua Thu May 23 13:54:08 2013 +0100
@@ -86,7 +86,7 @@
if user_host ~= path_items[1] or user_node ~= path_items[2] then
-- To only give admins acces to anything, move the inside of this block after authz
--module:log("debug", "%s wants access to %s@%s[%s], is admin?", authed_user, p_user, p_host, p_store)
- if not is_admin(user_node, p_host) then
+ if not is_admin(authed_user, p_host) then
return 403;
end
end