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 (ctxtubMethodParams) static

Do not allow assign of Everyone & Anonymous preudo-roles. Allow assign admins role only by admins member.

Arguments:

# ubAuthHash (aRealmstring, aLoginstring, aPasswordstring) → String static

Create a password hash for specified realm/login/password

Arguments:
  • aRealm: string

    reserved

  • aLogin: string

    User login

  • aPassword: string

    User password in plain text