RLS

RLS

Methods

userInGroup(user, groupname)String static

todo - OPTIMIZE using role cache
Arguments:
  1. user
  2. groupname

currentUserInGroup(groupname) → * static

is current ( Session.userID) user have role with name groupname
Arguments:
  1. 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!!