Member Junction
    Preparing search index...

    Interface NormalizedPermission

    A normalized permission record returned by any provider. Providers translate their native storage (EntityPermission, DashboardPermission, ResourcePermission, etc.) into this shape so the Sharing Center and programmatic APIs can treat all permissions uniformly.

    interface NormalizedPermission {
        Actions: PermissionAction[];
        DomainName: string;
        Effect: "Allow" | "Deny";
        ExpiresAt?: Date;
        GranteeID: string;
        GranteeName?: string;
        GranteeType: GranteeType;
        ResourceID: string;
        ResourceName?: string;
        ResourceType: string;
        SourceRecordID?: string;
    }
    Index

    Properties

    Actions: PermissionAction[]

    Which actions this record permits.

    DomainName: string

    The permission domain that produced this record (matches PermissionDomain.Name).

    Effect: "Allow" | "Deny"

    Whether this is an Allow or Deny record. Providers that don't support Deny always return Allow.

    ExpiresAt?: Date

    Optional expiration timestamp.

    GranteeID: string

    The ID of the grantee. Null for Everyone or Public grants.

    GranteeName?: string

    Human-readable name of the grantee when available.

    GranteeType: GranteeType

    The type of grantee.

    ResourceID: string

    The ID of the specific resource. Null for domain-wide grants.

    ResourceName?: string

    Human-readable name of the resource when available.

    ResourceType: string

    The specific resource type within the domain (e.g., entity name, resource type name).

    SourceRecordID?: string

    Source-specific record ID useful for editing the underlying permission row.