type
OperationCapabilities
Non-secret permission summary for resource operations.
Properties
| Property | Type | Description |
|---|---|---|
Admin | bool | Reports whether Admin is currently allowed. |
Create | bool | Reports whether Create is currently allowed. |
Read | bool | Reports whether Read is currently allowed. |
ReadVersions | bool | Reports whether ReadVersions is currently allowed. |
Update | bool | Reports whether Update is currently allowed. |
Delete | bool | Reports whether Delete is currently allowed. |
Duplicate | bool | Reports whether Duplicate is currently allowed. |
Publish | bool | Reports whether Publish is currently allowed. |
Unpublish | bool | Reports whether Unpublish is currently allowed. |
RestoreDeleted | bool | Reports whether RestoreDeleted is currently allowed. |
DeletePermanent | bool | Reports whether DeletePermanent is currently allowed. |
SelectAll | bool | Reports whether SelectAll is currently allowed. |
Unlock | bool | Reports whether Unlock is currently allowed. |
How it works
The summary deliberately excludes executable rules and filtered-access predicates. Treat it as UI capability data, never as authorization.
Full signature
type OperationCapabilities struct {
Admin bool
Create bool
Read bool
ReadVersions bool
Update bool
Delete bool
Duplicate bool
Publish bool
Unpublish bool
RestoreDeleted bool
DeletePermanent bool
SelectAll bool
Unlock bool
}