Confluence.js - Cloud and Server API library
    Preparing search index...

    Interface SpacePermissionCreate

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

    The following combinations of operation and targetType values are valid for the operation object:

    • 'create': 'page', 'blogpost', 'comment', 'attachment'
    • 'read': 'space'
    • 'delete': 'page', 'blogpost', 'comment', 'attachment'
    • 'export': 'space'
    • 'administer': 'space'
    interface SpacePermissionCreate {
        anonymousAccess: boolean;
        operation: OperationCheckResult;
        subjects: {
            group?: { results: GroupCreate[]; size: number };
            user?: { results: User[]; size: number };
        };
        unlicensedAccess: boolean;
    }
    Index

    Properties

    anonymousAccess: boolean

    Grant anonymous users permission to use the operation.

    subjects: {
        group?: { results: GroupCreate[]; size: number };
        user?: { results: User[]; size: number };
    }

    The users and/or groups that the permission applies to.

    unlicensedAccess: boolean

    Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.