Methods
userInGroup(user, groupname) → String
static
todo - OPTIMIZE using role cache
Arguments:
-
user
-
groupname
currentUserInGroup(groupname) → *
static
is current ( Session.userID) user have role with name groupname
Arguments:
-
groupname
 group name from uba_role
userInAdmSubtable()
static
Check user in adm subtable
no user group check performed!
currentStaffUnitInDocAdmSubtable()
static
Check staff unit in adm subtable by admOrgUnitID field
currentSender()
static
Check sender staff unit
currentReceiver()
static
Check receiver staff unit
userOrUserGroupInAdmSubtable()
static
Check user or any of user groups in adm subtable
/* xmax using ORACLE
_todo check oracle syntax!!
user
groupname
groupname
 group name from uba_role