This object represents a single space permission. Permissions consist of* at least one operation object with an accompanying subjects object.

The following combinations of operation.key and operation.target values are valid for the operation object:

'create': 'page', 'blogpost', 'comment', 'attachment'
'read': 'space'
'delete': 'page', 'blogpost', 'comment', 'attachment'
'export': 'space'
'administer': 'space'
interface SpacePermissionV2 {
    _links?: GenericLinks;
    id?: number;
    operation: {
        key: string;
        target: string;
    };
    subject: PermissionSubject;
}

Hierarchy (view full)

Properties

_links?: GenericLinks
id?: number
operation: {
    key: string;
    target: string;
}

Type declaration

  • key: string
  • target: string

    The space or content type that the operation applies to.

Generated using TypeDoc v0.25.12