summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-controller.lua
blob: b8fa7f4534fd57eb6ae7ce915d11d98dc853acc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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