diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-01 20:49:59 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-01 20:49:59 +0000 |
commit | fbda79f377ffbad71b38d2ddf273913dc95ab177 (patch) | |
tree | cac8faf1dc9d33aa5044140b32f0eba8d2cea3b2 /app/acf-util/roles-model.lua | |
parent | 21b0abee37316cd578a984c3de0ec878a8b41f72 (diff) | |
download | acf-core-fbda79f377ffbad71b38d2ddf273913dc95ab177.tar.bz2 acf-core-fbda79f377ffbad71b38d2ddf273913dc95ab177.tar.xz |
Modified roles, logon, and authenticator
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util/roles-model.lua')
-rw-r--r-- | app/acf-util/roles-model.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/acf-util/roles-model.lua b/app/acf-util/roles-model.lua index c3ce2c7..b6e95fd 100644 --- a/app/acf-util/roles-model.lua +++ b/app/acf-util/roles-model.lua @@ -9,9 +9,12 @@ getcont = function(self) controllers = roles.get_controllers(self) local table_m = {} for a,b in pairs(controllers) do - temp = roles.get_controllers_func(self,b) - table_m[b.sname] = temp + table_m[b.sname] = {} + temp = roles.get_controllers_func(self,b) + for x,y in ipairs(temp) do + table_m[b.sname][y] = {} + end end - return (table_m) + return cfe({ type="table", value=table_m, label="All permissions" }) end |