Class AttachmentPermissionsDelegate

    • Constructor Detail

      • AttachmentPermissionsDelegate

        public AttachmentPermissionsDelegate()
    • Method Detail

      • canView

        public boolean canView​(com.atlassian.user.User user,
                               Attachment target)
        Returns:
        true if user can view the specified target.
      • canEdit

        public boolean canEdit​(com.atlassian.user.User user,
                               Attachment target)
      • canSetPermissions

        public boolean canSetPermissions​(com.atlassian.user.User user,
                                         Attachment target)
      • canRemove

        public boolean canRemove​(com.atlassian.user.User user,
                                 Attachment target)
      • canExport

        public boolean canExport​(com.atlassian.user.User user,
                                 Attachment target)
      • canAdminister

        public boolean canAdminister​(com.atlassian.user.User user,
                                     Attachment target)
      • canCreate

        public boolean canCreate​(com.atlassian.user.User user,
                                 Object container)
        Returns:
        true if the specified user can create new instances of the target type in the specified container.
      • setSpaceManager

        public void setSpaceManager​(SpaceManager spaceManager)
      • setPermissionManager

        public void setPermissionManager​(PermissionManager permissionManager)
        Since:
        7.16
      • setContentPermissionManager

        public void setContentPermissionManager​(ContentPermissionManager contentPermissionManager)
      • setContentTypeManager

        public void setContentTypeManager​(ContentTypeManager contentTypeManager)
      • setAttachmentManager

        public void setAttachmentManager​(AttachmentManager attachmentManager)