Class CommentPermissionsDelegate

    • Constructor Detail

      • CommentPermissionsDelegate

        public CommentPermissionsDelegate()
    • Method Detail

      • canView

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

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

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

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

        public boolean canExport​(com.atlassian.user.User user,
                                 Comment target)
        We've decided that most objects aside from spaces should not support canExport. We've changed some of them to delegate to view, but we're leaving this one delegating to its container for compatibility. The new operations delegate api will not support export for comments.
      • canAdminister

        public boolean canAdminister​(com.atlassian.user.User user,
                                     Comment target)
      • setPermissionManager

        public void setPermissionManager​(PermissionManager permissionManager)
        Since:
        7.16
      • 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.