type
OperationCapabilities
Boolean operation permissions for one evaluated resource state.
Properties
| Property | Type | Description |
|---|---|---|
Admin | bool | The Admin value. |
Create | bool | The Create value. |
Read | bool | The Read value. |
ReadVersions | bool | The ReadVersions value. |
Update | bool | The Update value. |
Delete | bool | The Delete value. |
Duplicate | bool | The Duplicate value. |
Publish | bool | The Publish value. |
Unpublish | bool | The Unpublish value. |
RestoreDeleted | bool | The RestoreDeleted value. |
DeletePermanent | bool | The DeletePermanent value. |
SelectAll | bool | The SelectAll value. |
How it works
A later mutation always reauthorizes; these booleans are not a permission lease.
Full signature
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"`
}