public interface SpacePermissionManagerInternal extends SpacePermissionManager, SpacePermissionSaverInternal
SpacePermissionManager; see package-info.java for rationale.| Modifier and Type | Method and Description |
|---|---|
void |
removeAllPermissions(Space space,
SpacePermissionContext context)
Removes all permissions belonging to space
|
void |
removeAllPermissionsForGroup(String group,
SpacePermissionContext context)
Removes all permissions for the given group.
|
void |
removeAllUserPermissions(ConfluenceUser user,
SpacePermissionContext context)
Removes all permissions for the given user.
|
void |
removeGlobalPermissionForUser(ConfluenceUser user,
String permissionType,
SpacePermissionContext context)
Removes global permission of specified type that is directly associated with a user.
|
void |
removePermission(SpacePermission permission,
SpacePermissionContext context)
Removes the given permission.
|
createDefaultSpacePermissions, createPrivateSpacePermissions, flushCaches, getAllPermissionsForGroup, getDefaultGlobalPermissions, getGlobalPermissions, getGlobalPermissions, getGroupsForPermissionType, getGroupsWithPermissions, getUsersForPermissionType, getUsersWithPermissions, groupHasPermission, hasAllPermissions, hasPermission, hasPermissionForSpace, hasPermissionNoExemptions, isPermittedInReadOnlyAccessMode, permissionExists, removeAllPermissions, removeAllPermissionsForGroup, removeAllUserPermissions, removeGlobalPermissionForUser, removePermissionsavePermissionsavePermissionvoid removeAllPermissions(Space space, SpacePermissionContext context)
space - The space to remove the permissions forcontext - The context for this removalvoid removePermission(SpacePermission permission, SpacePermissionContext context)
May generate a SpacePermissionRemoveEvent in the process,
depending on the context.
permission - the permission to removecontext - the context for the removalvoid removeAllUserPermissions(ConfluenceUser user, SpacePermissionContext context)
May generate a SpacePermissionsRemoveForUserEvent in the
process, depending on the context.
user - the user to remove permissions forcontext - the context for the removalvoid removeGlobalPermissionForUser(ConfluenceUser user, String permissionType, SpacePermissionContext context)
May generate a SpacePermissionsRemoveForUserEvent in the
process, depending on the context.
user - the user to look uppermissionType - the permission type to removecontext - the context for the removalvoid removeAllPermissionsForGroup(String group, SpacePermissionContext context)
May generate a SpacePermissionsRemoveForGroupEvent in
the process, depending on the context.
group - the group to removeCopyright © 2003–2021 Atlassian. All rights reserved.