RLS

Methods

currentUserInGroup(groupname)→*static#

is current ( Session.userID) user have role with name groupname

Arguments info:

  • 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)→Stringstatic#

todo - OPTIMIZE using role cache

userOrUserGroupInAdmSubtable()static#

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