Class NeverPermittedContentPermission

    • Constructor Detail

      • NeverPermittedContentPermission

        public NeverPermittedContentPermission​(String type)
    • Method Detail

      • isPermitted

        public boolean isPermitted​(com.atlassian.user.User user)
        Description copied from class: ContentPermission
        Determine if a user is locked out by the permission. Note, this does not take into account if the user has a general ability to override a lock (say if they are a global or space-level administrator), lock overrides must be dealt with at a higher level.

        content level permissions cannot be granted to anonymous users

        Overrides:
        isPermitted in class ContentPermission
        Parameters:
        user - the user to test against
        Returns:
        true if the lock would prevent the user from editing content, false otherwise.