diff options
Diffstat (limited to 'app/acf-util/roles-controller.lua')
-rw-r--r-- | app/acf-util/roles-controller.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/acf-util/roles-controller.lua b/app/acf-util/roles-controller.lua new file mode 100644 index 0000000..b8fa7f4 --- /dev/null +++ b/app/acf-util/roles-controller.lua @@ -0,0 +1,20 @@ +-- Roles/Group functions + +module (..., package.seeall) + +--require ("session") + +mvc.on_load = function(self, parent) + if (self.worker[self.conf.action] == nil ) or ( self.conf.action == "init" ) then + self.worker[self.conf.action] = list_redir(self) + end + --logit ("logon.mvc.on_load activated") + end + +read = function(self) + return( {read= self.model:read(clientdata.sessionid)}) +end + +getlist = function(self) + return( { contlist = self.model:getcont(self)}) +end |