Links authorizations to roles, defining which permissions are granted to users assigned to specific roles in the system.

Hierarchy (view full)

Constructors

Properties

Authorization: string

Name of the authorization

AuthorizationID: string = null

Foreign key reference to the Authorizations table

ID: string = null

Unique identifier for the authorization-role mapping

Role: string

Name of the role

RoleID: string = null

Foreign key reference to the Roles table

Type: string = null

Specifies whether this authorization is granted to ('Allow') or explicitly denied ('Deny') for the role. Deny overrides Allow from all other roles a user may be part of

_RoleInfo: RoleInfo = null
__mj_CreatedAt: Date = null

Timestamp when the authorization-role mapping was created

__mj_UpdatedAt: Date = null

Timestamp when the authorization-role mapping was last updated

Accessors

Methods

  • Copies initialization data from a plain object to the class instance. Only copies properties that already exist on the class to prevent creating new fields. Special handling for DefaultValue fields to extract actual values from SQL Server syntax.

    Parameters

    • initData: any

      The initialization data object

    Returns void