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

    Class SpacePermissions

    Index

    Constructors

    Methods

    • Adds new custom content permission to space.

      If the permission to be added is a group permission, the group can be identified by its group name or group id.

      Note: Only apps can access this REST resource and only make changes to the respective app permissions.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<void>

    • Adds new custom content permission to space.

      If the permission to be added is a group permission, the group can be identified by its group name or group id.

      Note: Only apps can access this REST resource and only make changes to the respective app permissions.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<T>

    • Removes a space permission. Note that removing Read Space permission for a user or group will remove all the space permissions for that user or group.

      Note: Apps cannot access this REST resource - including when utilizing user impersonation.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Removes a space permission. Note that removing Read Space permission for a user or group will remove all the space permissions for that user or group.

      Note: Apps cannot access this REST resource - including when utilizing user impersonation.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>