BetaOptional BetadescriptionA description of the permission. Defaults to an empty string.
Optional BetadocumentThe document types that the content resource applies to. Omit to apply to documents of any type.
Optional BetafilterA GROQ filter that selects documents, e.g. branch == "london". It is joined to documentTypes with &&.
BetanameThe name of the permission.
Lowercase letters, numbers, hyphens, and underscores only. Must not start with sanity or res-.
Optional BetaprojectThe project ID of the project that contains the permission.
The project attribute must be defined if your blueprint is scoped to an organization and the stack has no default project.
Optional BetatitleA human-readable title. Defaults to name.
Configuration for a content resource: a custom permission of type
sanity.document.filter.mode, as the Manage UI makes it. This feature is subject to breaking changes.