type

OperationCapabilities

Non-secret permission summary for resource operations.

Properties

PropertyTypeDescription
AdminboolReports whether Admin is currently allowed.
CreateboolReports whether Create is currently allowed.
ReadboolReports whether Read is currently allowed.
ReadVersionsboolReports whether ReadVersions is currently allowed.
UpdateboolReports whether Update is currently allowed.
DeleteboolReports whether Delete is currently allowed.
DuplicateboolReports whether Duplicate is currently allowed.
PublishboolReports whether Publish is currently allowed.
UnpublishboolReports whether Unpublish is currently allowed.
RestoreDeletedboolReports whether RestoreDeleted is currently allowed.
DeletePermanentboolReports whether DeletePermanent is currently allowed.
SelectAllboolReports whether SelectAll is currently allowed.
UnlockboolReports 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 }

Source core/local.go:210