Sanity Library Reference Docs
    Preparing search index...

    One prospective subject write the actor's grants don't allow — the payload of the subject-permission-denied DisabledReason arm.

    interface SubjectPermissionDenial {
        permission: "create" | "manage" | "read" | "update";
        resource: string;
        subject:
            | `dataset:${string}`
            | `canvas:${string}`
            | `media-library:${string}`
            | `dashboard:${string}`;
    }
    Index

    Properties

    permission: "create" | "manage" | "read" | "update"

    The forecast write permission the resource's grants don't confer.

    resource: string

    Resource-shaped GDR (<type>:<id>) of the resource whose ACL denied.

    subject:
        | `dataset:${string}`
        | `canvas:${string}`
        | `media-library:${string}`
        | `dashboard:${string}`

    GDR URI of the subject document the write would target.