Class ConfluenceRestClientContentPermissionsConsumerApi

java.lang.Object
io.github.primelib.confluence4j.rest.v1.client.ConfluenceRestClientContentPermissionsConsumerApi

@Generated("io.github.primelib.primecodegen") public class ConfluenceRestClientContentPermissionsConsumerApi extends Object
ConfluenceRestClientContentPermissionsConsumerApi
  • Constructor Details

  • Method Details

    • PostContentByIDPermissionCheckV1

      public PermissionCheckResponse PostContentByIDPermissionCheckV1(Consumer<PostContentByIDPermissionCheckV1OperationSpec> spec)
      PostContentByIDPermissionCheckV1 Check content permissions Check if a user or a group can perform an operation to the specified content. The `operation` to check must be provided. The user’s account ID or the ID of the group can be provided in the `subject` to check permissions against a specified user or group. The following permission checks are done to make sure that the user or group has the proper access: - site permissions - space permissions - content restrictions **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) if checking permission for self, otherwise 'Confluence Administrator' global permission is required.
      Parameters:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • id: The ID of the content to check permissions against.
      • payload: The content permission request.