Class DraftPermissionsDelegate

    • Constructor Detail

      • DraftPermissionsDelegate

        public DraftPermissionsDelegate()
    • Method Detail

      • canView

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

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

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

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

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

        public boolean canAdminister​(com.atlassian.user.User user,
                                     Draft 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)