Member Junction
    Preparing search index...

    A single share row displayed in GenericShareDialogComponent. The dialog treats every resource type uniformly with a three-tier permission model — adapters translate the Level field to whatever shape their backing entity actually stores (e.g., MJResourcePermissionEntity.PermissionLevel is a direct match; MJDashboardPermissionEntity maps to a combination of Can* booleans).

    interface ResourceSharePermissionModel {
        _InitialLevel?: ResourceShareLevel;
        IsNew: boolean;
        Level: ResourceShareLevel;
        MarkedForRemoval: boolean;
        PermissionEntity: BaseEntity;
        User: MJUserEntity;
        UserID: string;
    }
    Index

    Properties

    _InitialLevel?: ResourceShareLevel

    Snapshot of Level captured when the row was first created/loaded. Populated by the dialog; used by HasChanges to detect user edits.

    IsNew: boolean

    true if this row was added in the current dialog session (no DB row yet).

    Current permission tier shown in the dialog.

    MarkedForRemoval: boolean

    true if the user clicked the trash icon; will be deleted on save.

    PermissionEntity: BaseEntity

    BaseEntity instance to persist on save / delete on remove.

    UserID: string