type

OperationCapabilities

type OperationCapabilities struct { Admin bool `json:"admin"` Create bool `json:"create"` Read bool `json:"read"` ReadVersions bool `json:"readVersions"` Update bool `json:"update"` Delete bool `json:"delete"` Duplicate bool `json:"duplicate"` Publish bool `json:"publish"` Unpublish bool `json:"unpublish"` RestoreDeleted bool `json:"restoreDeleted"` DeletePermanent bool `json:"deletePermanent"` SelectAll bool `json:"selectAll"` }

Boolean operation permissions for one evaluated resource state.

Source protocol/envelope.go:127

Adminbool
The Admin value.
Createbool
The Create value.
Readbool
The Read value.
ReadVersionsbool
The ReadVersions value.
Updatebool
The Update value.
Deletebool
The Delete value.
Duplicatebool
The Duplicate value.
Publishbool
The Publish value.
Unpublishbool
The Unpublish value.
RestoreDeletedbool
The RestoreDeleted value.
DeletePermanentbool
The DeletePermanent value.
SelectAllbool
The SelectAll value.

A later mutation always reauthorizes; these booleans are not a permission lease.