Class PermissionHelper

java.lang.Object
com.atlassian.confluence.security.PermissionHelper

public class PermissionHelper extends Object
Provides methods to allow the PermissionManager to be more easily called from within Velocity templates
  • Constructor Details

  • Method Details

    • canEdit

      public boolean canEdit(com.atlassian.user.User user, Object object)
    • canView

      public boolean canView(com.atlassian.user.User user, Object object)
    • canRemove

      public boolean canRemove(com.atlassian.user.User user, Object object)
    • canRemoveHierarchy

      public boolean canRemoveHierarchy(com.atlassian.user.User user, Object target)
    • canExport

      public boolean canExport(com.atlassian.user.User user, Object object)
    • canComment

      public boolean canComment(com.atlassian.user.User user, Object object)
    • canAttachFile

      public boolean canAttachFile(com.atlassian.user.User user, Object object)
    • isConfluenceAdministrator

      public boolean isConfluenceAdministrator(com.atlassian.user.User user)
    • isSystemAdministrator

      public boolean isSystemAdministrator(com.atlassian.user.User user)
    • canCreatePage

      public boolean canCreatePage(com.atlassian.user.User user, Space space)
    • canCreateBlogPost

      public boolean canCreateBlogPost(com.atlassian.user.User user, Space space)
    • canAdminister

      public boolean canAdminister(com.atlassian.user.User user, Object object)
    • canSetPermissions

      public boolean canSetPermissions(com.atlassian.user.User user, Object object)
    • canCreateSpace

      public boolean canCreateSpace(com.atlassian.user.User user)
    • canViewPage

      public boolean canViewPage(com.atlassian.user.User user, String spaceKey, String pageTitle)
    • canViewPage

      public boolean canViewPage(com.atlassian.user.User user, long id)
    • canCreatePersonalSpace

      public boolean canCreatePersonalSpace(com.atlassian.user.User user)
    • isGlobalAnonymousAccessEnabled

      public boolean isGlobalAnonymousAccessEnabled()