interface SpacePermissionAssignment {
    id?: string;
    operation?: {
        key?:
            | "copy"
            | "move"
            | "use"
            | "update"
            | "delete"
            | "read"
            | "create"
            | "restore"
            | "administer"
            | "export"
            | "purge"
            | "purge_version"
            | "archive"
            | "create_space"
            | "restrict_content";
        targetType?: string;
    } & {
        [key: string]: unknown;
    };
    principal?: {
        id?: string;
        type?: "role" | "user" | "group";
    } & {
        [key: string]: unknown;
    };
}

Hierarchy

  • Record<string, unknown>
    • SpacePermissionAssignment

Properties

id?: string

ID of the space permission.

operation?: {
    key?:
        | "copy"
        | "move"
        | "use"
        | "update"
        | "delete"
        | "read"
        | "create"
        | "restore"
        | "administer"
        | "export"
        | "purge"
        | "purge_version"
        | "archive"
        | "create_space"
        | "restrict_content";
    targetType?: string;
} & {
    [key: string]: unknown;
}

The operation the space permission corresponds to.

Type declaration

  • Optionalkey?:
        | "copy"
        | "move"
        | "use"
        | "update"
        | "delete"
        | "read"
        | "create"
        | "restore"
        | "administer"
        | "export"
        | "purge"
        | "purge_version"
        | "archive"
        | "create_space"
        | "restrict_content"

    The type of operation.

  • OptionaltargetType?: string

    The type of entity the operation type targets.

principal?: {
    id?: string;
    type?: "role" | "user" | "group";
} & {
    [key: string]: unknown;
}

The entity the space permissions corresponds to.

Type declaration

  • Optionalid?: string

    ID of the entity.

  • Optionaltype?: "role" | "user" | "group"