RLS

RLS

Methods

currentUserInGroup(groupname) → * static

is current ( Session.userID) user have role with name groupname
Arguments:
  1. groupname   group name from uba_role

federalize() static

Dirty hack for federalized entities (for example ubs_numcounter) work without FED model.

FED model define good realization of RLS.federalize - this is only stub

userInAdmSubtable() static

Check user in adm subtable no user group check performed!

userInGroup(user, groupname)String static

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

userOrUserGroupInAdmSubtable() static

Check user or any of user groups in adm subtable /* xmax using ORACLE _todo check oracle syntax!!