Sanity Library Reference Docs
    Preparing search index...

    Type Alias BlueprintPermissionTypeBeta

    BlueprintPermissionType:
        | "sanity.document.filter"
        | "sanity.document.filter.mode"

    The type of a custom permission.

    • sanity.document.filter A role grants document actions, such as read and update, on the documents that match the filter.
    • sanity.document.filter.mode A role grants the mode action, with a mode param such as read or publish, on the documents that match the filter. This feature is subject to breaking changes.