operation
operation: {
key:
| "copy"
| "move"
| "use"
| "update"
| "delete"
| "read"
| "create"
| "restore"
| "administer"
| "export"
| "purge"
| "purge_version"
| "archive"
| "restrict_content";
target:
| "attachment"
| "page"
| "comment"
| "space"
| "blogpost";
} & {
[key: string]: unknown;
}
Type declaration
key:
| "copy"
| "move"
| "use"
| "update"
| "delete"
| "read"
| "create"
| "restore"
| "administer"
| "export"
| "purge"
| "purge_version"
| "archive"
| "restrict_content"
target:
| "attachment"
| "page"
| "comment"
| "space"
| "blogpost"
This object represents the request for the single space permission. Permissions consist of one operation object with an accompanying subjects object.
The following combinations of
operation.keyandoperation.targetvalues are valid for theoperationobject:For example, to enable Delete Own permission, set the
operationobject to the following:To enable Add/Delete Restrictions permissions, set the
operationobject to the following: