Member Junction
    Preparing search index...

    Security settings for each entity. Controls which roles can perform create, read, update, and delete operations.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __mj_CreatedAt: Date = null
    __mj_UpdatedAt: Date = null
    CanCreate: boolean = null
    CanDelete: boolean = null
    CanRead: boolean = null
    CanUpdate: boolean = null
    CreateRLSFilter: string = null
    CreateRLSFilterID: string = null
    DeleteRLSFilter: string = null
    DeleteRLSFilterID: string = null
    Entity: string = null
    EntityID: string = null
    ID: string = null

    Primary Key

    ReadRLSFilter: string = null
    ReadRLSFilterID: string = null
    Role: string = null
    RoleID: string = null
    RoleSQLName: string = null
    Type: string = 'Allow'

    Allow (default) or Deny. Deny rows override matching Allow rows for the same action during EntityInfo.GetUserPermisions() aggregation. Added in Phase 2b of the unified permissions architecture; defaults to 'Allow' for backwards compatibility with rows materialized before the column existed.

    UpdateRLSFilter: string = null
    UpdateRLSFilterID: string = null

    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

    • Default JSON serialization for BaseInfo subclasses.

      Emits all non-underscored direct field declarations. For _-prefixed private backing fields (the MJ pattern for collection storage — e.g. _Fields, _RelatedEntities, _OrganicKeys), emits the value of the corresponding same-named public getter instead. Purely computed getters without a backing field (display-name formatters, derived flags) are intentionally skipped — they can throw when source fields are null and don't belong on the wire anyway.

      Nested BaseInfo instances and arrays of them unwrap automatically via JSON.stringify's native toJSON() protocol.

      Subclasses may override to emit a filtered subset or custom shape (see EntityFieldValueInfo).

      Returns Record<string, unknown>