Anchorage API reference
    Preparing search index...

    The trusted projection stored under PRINCIPAL_PERMISSIONS_CONTEXT_KEY: the exact permissions a server-owned policy snapshot granted the executing principal, plus the version of that snapshot for audit correlation.

    interface PrincipalPermissions {
        permissions: readonly string[];
        policyVersion: string;
    }
    Index

    Properties

    permissions: readonly string[]

    Exact permission identifiers granted by the policy snapshot.

    policyVersion: string

    Stable version or hash identifying the policy snapshot used. Must be non-blank, at most 200 characters, and free of ASCII control characters.