From 54861e9f2546d5d1b07795992c99f69e9608118c Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 25 Mar 2014 09:14:31 +0200 Subject: model: rename /auth to /aaa --- aconf/model/node.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aconf/model/node.lua') diff --git a/aconf/model/node.lua b/aconf/model/node.lua index 40e4422..013b1bb 100644 --- a/aconf/model/node.lua +++ b/aconf/model/node.lua @@ -143,7 +143,7 @@ function M.TreeNode:init(context, params) res = user.superuser or mt._has_permission(permission) if res == nil then - if getmetatable(mt.escalate).fetch('/auth/permissions')[name] then + if getmetatable(mt.escalate).fetch('/aaa/permissions')[name] then res = user:check_permission(name) else if ({create=true, delete=true})[permission] then -- cgit v1.2.3