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 com.atlassian.user.User 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