Interface DefaultConfluenceAccessManager.AccessManagerPermissionChecker

    • Method Detail

      • permissionExists

        boolean permissionExists​(SpacePermission permission)
        Check whether the given SpacePermission exists. Checks by attribute equality rather than by id.
        Parameters:
        permission - the permission to look for.
        Returns:
        true if the permission is recognised by the manager as existing.
      • hasGlobalPermissionViaGroups

        boolean hasGlobalPermissionViaGroups​(@NonNull ConfluenceUser user,
                                             String permissionType)
        Check whether the given user has the given global permission via group memberships.
        Parameters:
        permissionType - the SpacePermission type to look for.
        Returns:
        true if the user has this permission specifically via group memberships
        Since:
        8.8
      • hasGlobalPermissionViaGroups

        @Deprecated(forRemoval=true)
        default boolean hasGlobalPermissionViaGroups​(@NonNull com.atlassian.user.User user,
                                                     String permissionType)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Check whether the given user has the given global permission via group memberships.
        Parameters:
        permissionType - the SpacePermission type to look for.
        Returns:
        true if the user has this permission specifically via group memberships