summaryrefslogtreecommitdiffstats
path: root/app/acf-util/roles-controller.lua
blob: 4cf193748c78f4761b046d421e202d8692abb8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Roles/Group functions

module (..., package.seeall)

read = function(self)
	--return( {read= self.model:read(clientdata.sessionid)})
	return ( { userid = self.sessiondata.userinfo.userid, roles = self.sessiondata.userinfo.roles, permissions = self.sessiondata.permissions } )
end

getlist = function(self)
	return( { contlist = self.model:getcont(self)})
end