Member Junction
    Preparing search index...

    One person's access across the resources a dialog is sharing. The dialog works in grants, not rows: a grant carries the loaded permission row per resource, so every action (add, level change, removal) applies to the whole set at once.

    interface ResourceShareGrant {
        InitialLevel: ResourceShareLevel | null;
        IsNew: boolean;
        Level: ResourceShareLevel;
        LevelTouched: boolean;
        MarkedForRemoval: boolean;
        Rows: Map<string, ResourceSharePermissionModel>;
        User: MJUserEntity;
        UserID: string;
    }
    Index

    Properties

    InitialLevel: ResourceShareLevel | null

    Level held on every resource at load time; null when they differ.

    IsNew: boolean

    True when this person held no access on any resource at load time.

    Level to apply on save.

    LevelTouched: boolean

    True once the user picks a level, which also fills in resources with no grant.

    MarkedForRemoval: boolean
    Rows: Map<string, ResourceSharePermissionModel>

    Loaded permission rows, keyed by ResourceShareContext.ResourceID.

    UserID: string