Constants for administrative security model
Members
# AUDIT_TRAIL_ENTITY static
Name of Audit Trail entity
# haveAdminRole static
Check logged in user have admin
role
# isSuperUser static
Check logged in user is a superuser (either admin
or root
)
# ROLES static
Build-in roles
# USERS static
Build-in users
Methods
# denyBuildInRoleAssignmentAndAdminsOnlyForAdmins (ctxt: ubMethodParams) static
Do not allow assign of Everyone & Anonymous preudo-roles.
Allow assign admins
role only by admins
member.
Arguments:
ctxt
: ubMethodParams
# ubAuthHash (aRealm: string, aLogin: string, aPassword: string) → String static
Create a password hash for specified realm/login/password