Uses of Class
com.atlassian.confluence.security.SpacePermission
-
Packages that use SpacePermission Package Description com.atlassian.confluence.event.events.permission com.atlassian.confluence.impl.audit.handler This package contains handlers that know how to create change values out of changed objects.com.atlassian.confluence.impl.security com.atlassian.confluence.impl.security.administrators com.atlassian.confluence.importexport.xmlimport Imports Confluence data from an XML backup.com.atlassian.confluence.internal.security com.atlassian.confluence.rpc.soap.beans com.atlassian.confluence.security com.atlassian.confluence.security.access com.atlassian.confluence.security.actions com.atlassian.confluence.security.administrators com.atlassian.confluence.security.persistence.dao com.atlassian.confluence.security.persistence.dao.hibernate com.atlassian.confluence.spaces com.atlassian.confluence.user.actions -
-
Uses of SpacePermission in com.atlassian.confluence.event.events.permission
Fields in com.atlassian.confluence.event.events.permission declared as SpacePermission Modifier and Type Field Description protected SpacePermission
GlobalPermissionChangeEvent. permission
Fields in com.atlassian.confluence.event.events.permission with type parameters of type SpacePermission Modifier and Type Field Description protected Iterable<SpacePermission>
SpacePermissionChangeEvent. permissions
Methods in com.atlassian.confluence.event.events.permission that return SpacePermission Modifier and Type Method Description SpacePermission
GlobalPermissionChangeEvent. getPermission()
Methods in com.atlassian.confluence.event.events.permission that return types with arguments of type SpacePermission Modifier and Type Method Description Iterable<SpacePermission>
SpacePermissionChangeEvent. getPermissions()
Constructors in com.atlassian.confluence.event.events.permission with parameters of type SpacePermission Constructor Description GlobalPermissionChangeEvent(Object src, SpacePermission permission)
GlobalPermissionRemoveEvent(Object src, SpacePermission permission)
GlobalPermissionSaveEvent(Object src, SpacePermission permission)
SpacePermissionChangeEvent(Object src, SpacePermission permission)
SpacePermissionRemoveEvent(Object src, SpacePermission permission, Space space)
We keep a reference to the space separately so that when the permission is deleted, event handlers are still aware of which space the event is referring to.SpacePermissionSaveEvent(Object src, SpacePermission permission)
Constructor parameters in com.atlassian.confluence.event.events.permission with type arguments of type SpacePermission Constructor Description SpacePermissionChangeEvent(Object src, Iterable<SpacePermission> permissions)
SpacePermissionChangeEvent(Object src, Iterable<SpacePermission> permissions, SpaceUpdateTrigger updateTrigger)
SpacePermissionsRemoveForGroupEvent(Object src, String groupName, List<SpacePermission> permissions)
SpacePermissionsRemoveForUserEvent(Object src, ConfluenceUser user, List<SpacePermission> permissions)
SpacePermissionsRemoveFromSpaceEvent(Object src, Space space, List<SpacePermission> permissions)
SpacePermissionsRemoveFromSpaceEvent(Object src, Space space, List<SpacePermission> permissions, SpaceUpdateTrigger updateTrigger)
-
Uses of SpacePermission in com.atlassian.confluence.impl.audit.handler
Methods in com.atlassian.confluence.impl.audit.handler that return types with arguments of type SpacePermission Modifier and Type Method Description com.atlassian.confluence.impl.audit.handler.DefaultAuditHandler<SpacePermission>
AuditHandlerFactory. createSpacePermissionHandler(com.atlassian.confluence.impl.audit.handler.AuditHandler<Space> spaceAuditHandler, com.atlassian.confluence.impl.audit.handler.AuditHandler<com.atlassian.user.User> userAuditHandler)
-
Uses of SpacePermission in com.atlassian.confluence.impl.security
Methods in com.atlassian.confluence.impl.security that return types with arguments of type SpacePermission Modifier and Type Method Description List<SpacePermission>
CoarseGrainedCachingSpacePermissionManager. getAllPermissionsForGroup(String group)
List<SpacePermission>
DefaultSpacePermissionManager. getAllPermissionsForGroup(String group)
protected List<SpacePermission>
DefaultSpacePermissionManager. getAllPermissionsForUser(ConfluenceUser user)
Set<SpacePermission>
AbstractSpacePermissionManager. getDefaultGlobalPermissions()
List<SpacePermission>
CoarseGrainedCachingSpacePermissionManager. getGlobalPermissions()
List<SpacePermission>
CoarseGrainedCachingSpacePermissionManager. getGlobalPermissions(String permissionType)
List<SpacePermission>
DefaultSpacePermissionManager. getGlobalPermissions()
List<SpacePermission>
DefaultSpacePermissionManager. getGlobalPermissions(String permissionType)
Methods in com.atlassian.confluence.impl.security with parameters of type SpacePermission Modifier and Type Method Description boolean
CachingSpacePermissionManager. permissionExists(SpacePermission permission)
Looks up permission in the cache instance.boolean
CoarseGrainedCachingSpacePermissionManager. permissionExists(SpacePermission permission)
boolean
DefaultSpacePermissionManager. permissionExists(SpacePermission permission)
Determines if permission exists in the SpacePermissionDaovoid
CoarseGrainedCachingSpacePermissionManager. removePermission(SpacePermission permission)
Deprecated.since 5.9.void
CoarseGrainedCachingSpacePermissionManager. removePermission(SpacePermission permission, SpacePermissionContext context)
void
DefaultSpacePermissionManager. removePermission(SpacePermission permission)
Removes the specified permission.void
DefaultSpacePermissionManager. removePermission(SpacePermission permission, SpacePermissionContext context)
protected void
CachingSpacePermissionManager. removePermissionFromDao(SpacePermission spacePermission)
Removes realPermission from the DAO.protected void
DefaultSpacePermissionManager. removePermissionFromDao(SpacePermission realPermission)
Removes the permission from the data storevoid
CoarseGrainedCachingSpacePermissionManager. savePermission(SpacePermission permission)
Deprecated.since 5.9.void
CoarseGrainedCachingSpacePermissionManager. savePermission(SpacePermission permission, SpacePermissionContext context)
void
DefaultSpacePermissionManager. savePermission(SpacePermission permission)
void
DefaultSpacePermissionManager. savePermission(SpacePermission permission, SpacePermissionContext context)
protected void
CachingSpacePermissionManager. savePermissionToDao(SpacePermission spacePermission)
Saves permission to the DAO.protected void
DefaultSpacePermissionManager. savePermissionToDao(SpacePermission permission)
Saves the permission to the data store -
Uses of SpacePermission in com.atlassian.confluence.impl.security.administrators
Methods in com.atlassian.confluence.impl.security.administrators that return SpacePermission Modifier and Type Method Description SpacePermission
EditGlobalPermissionsAdministrator. createGroupGuardPermission(String guardPermission, String groupName)
Creates the relevant guard permission for the groupSpacePermission
EditSpacePermissionsAdministrator. createGroupGuardPermission(String guardPermission, String groupName)
SpacePermission
EditGlobalPermissionsAdministrator. createUserGuardPermission(String guardPermission, ConfluenceUser user)
Creates the relevant guard permission for the userSpacePermission
EditSpacePermissionsAdministrator. createUserGuardPermission(String guardPermission, ConfluenceUser user)
Methods in com.atlassian.confluence.impl.security.administrators that return types with arguments of type SpacePermission Modifier and Type Method Description protected Collection<SpacePermission>
AbstractEditPermissionsAdministrator. buildPermissionsFromWebForm(Space space, Map<String,?> formParameters, String parameterQualifier)
Private implementation that doesn't check to ensure space key is nullCollection<SpacePermission>
EditGlobalPermissionsAdministrator. buildPermissionsFromWebForm(Map formParameters, String parameterQualifier)
Given a map containing the web form parameters from a permissions edit, return the list of global permissions that are represented by the formCollection<SpacePermission>
EditSpacePermissionsAdministrator. buildPermissionsFromWebForm(Map formParameters, String parameterQualifier)
Collection<SpacePermission>
EditGlobalPermissionsAdministrator. getInitialPermissionsFromForm(Map requestParams)
Retrieve the permissions initial stateCollection<SpacePermission>
EditSpacePermissionsAdministrator. getInitialPermissionsFromForm(Map requestParams)
List<SpacePermission>
DefaultPermissionsAdministrator. getPermissions()
Collection<SpacePermission>
EditGlobalPermissionsAdministrator. getRequestedPermissionsFromForm(Map requestParams)
Retrieve the state of the permissions requested by the userCollection<SpacePermission>
EditSpacePermissionsAdministrator. getRequestedPermissionsFromForm(Map requestParams)
Methods in com.atlassian.confluence.impl.security.administrators with parameters of type SpacePermission Modifier and Type Method Description void
EditGlobalPermissionsAdministrator. addPermission(SpacePermission permissionToAdd)
Adds the given permission if the current user has permission to do so and updates the current active user count.void
EditSpacePermissionsAdministrator. addPermission(SpacePermission permissionToAdd)
protected boolean
AbstractEditPermissionsAdministrator. canAddPermission(SpacePermission permission)
Used by both space and global permission administrators to determine if the user can add the permission.void
AbstractEditPermissionsAdministrator. removePermission(SpacePermission permissionToRemove)
void
EditGlobalPermissionsAdministrator. removePermission(SpacePermission permissionToRemove)
Removes the given permission if the current user has permission to do so and updates the current active user count.Method parameters in com.atlassian.confluence.impl.security.administrators with type arguments of type SpacePermission Modifier and Type Method Description void
AbstractEditPermissionsAdministrator. addAllPermissions(Set<SpacePermission> permissionsToAdd)
void
AbstractEditPermissionsAdministrator. applyPermissionChanges(Collection<SpacePermission> oldPermissions, Collection<SpacePermission> newPermissions)
void
EditGlobalPermissionsAdministrator. applyPermissionChanges(Collection<SpacePermission> oldPermissions, Collection<SpacePermission> newPermissions)
Given the old permissions and new permissions, apply necessary permission changes to make old permissions the same as new permissions, then reset the current active user count.void
AbstractEditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
void
AbstractEditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
boolean
AbstractEditPermissionsAdministrator. isRemoveAllAdminPermissions(Set<SpacePermission> permissionsToRemove)
void
AbstractEditPermissionsAdministrator. removeAllPermissions(Set<SpacePermission> permissionsToRemove)
void
EditSpacePermissionsAdministrator. removeAllPermissions(Set<SpacePermission> permissionsToRemove)
void
AbstractEditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
void
AbstractEditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
-
Uses of SpacePermission in com.atlassian.confluence.importexport.xmlimport
Methods in com.atlassian.confluence.importexport.xmlimport with parameters of type SpacePermission Modifier and Type Method Description protected boolean
BackupImporter. isExportedDefaultUserGroupPermission(SpacePermission permission)
Deprecated. -
Uses of SpacePermission in com.atlassian.confluence.internal.security
Methods in com.atlassian.confluence.internal.security with parameters of type SpacePermission Modifier and Type Method Description void
SpacePermissionManagerInternal. removePermission(SpacePermission permission, SpacePermissionContext context)
Removes the given permission.void
SpacePermissionSaverInternal. savePermission(SpacePermission permission, SpacePermissionContext context)
Saves the permission. -
Uses of SpacePermission in com.atlassian.confluence.rpc.soap.beans
Constructors in com.atlassian.confluence.rpc.soap.beans with parameters of type SpacePermission Constructor Description RemoteContentPermission(SpacePermission spacePermission)
Constructor parameters in com.atlassian.confluence.rpc.soap.beans with type arguments of type SpacePermission Constructor Description RemoteSpacePermissionSet(String type, Collection<SpacePermission> permissionSet)
-
Uses of SpacePermission in com.atlassian.confluence.security
Methods in com.atlassian.confluence.security that return SpacePermission Modifier and Type Method Description static SpacePermission
SpacePermission. createAnonymousSpacePermission(String type, @Nullable Space space)
static SpacePermission
SpacePermission. createAuthenticatedUsersSpacePermission(String type, @Nullable Space space)
Creates a permission which is granted to all authenticated users, including unlicensed users.static SpacePermission
SpacePermission. createGroupSpacePermission(String type, @Nullable Space space, String group)
static SpacePermission
SpacePermission. createUserSpacePermission(String type, @Nullable Space space, ConfluenceUser subject)
static SpacePermission
SpacePermission. createUserSpacePermission(String type, @Nullable Space space, String userName)
Deprecated.since 5.2.SpacePermission
PermissionsFormHandler. fromFormParameterName(String formParameterName, Space space, String parameterType)
Convert a form parameter name into a space permission.Methods in com.atlassian.confluence.security that return types with arguments of type SpacePermission Modifier and Type Method Description Set<SpacePermission>
DefaultSpacePermissionDefaultsStore. createPermissionsForSpace(Space space)
Set<SpacePermission>
SpacePermissionDefaultsStore. createPermissionsForSpace(Space space)
List<SpacePermission>
DefaultSpacePermissionManager. getAllPermissionsForGroup(String group)
Deprecated.List<SpacePermission>
ReadOnlySpacePermissionManager. getAllPermissionsForGroup(String arg0)
List<SpacePermission>
SpacePermissionCoordinator. getAllPermissionsForGroup(String group)
List<SpacePermission>
SpacePermissionManager. getAllPermissionsForGroup(String group)
protected List<SpacePermission>
DefaultSpacePermissionManager. getAllPermissionsForUser(ConfluenceUser user)
Deprecated.Set<SpacePermission>
AbstractSpacePermissionManager. getDefaultGlobalPermissions()
Deprecated.Set<SpacePermission>
ReadOnlySpacePermissionManager. getDefaultGlobalPermissions()
Set<SpacePermission>
SpacePermissionCoordinator. getDefaultGlobalPermissions()
Set<SpacePermission>
SpacePermissionManager. getDefaultGlobalPermissions()
Returns the default global permissions that are created when Confluence is set up.List<SpacePermission>
DefaultSpacePermissionManager. getGlobalPermissions()
Deprecated.List<SpacePermission>
DefaultSpacePermissionManager. getGlobalPermissions(String permissionType)
Deprecated.List<SpacePermission>
ReadOnlySpacePermissionManager. getGlobalPermissions()
List<SpacePermission>
ReadOnlySpacePermissionManager. getGlobalPermissions(String arg0)
List<SpacePermission>
SpacePermissionCoordinator. getGlobalPermissions()
List<SpacePermission>
SpacePermissionCoordinator. getGlobalPermissions(String permissionType)
List<SpacePermission>
SpacePermissionManager. getGlobalPermissions()
List<SpacePermission>
SpacePermissionManager. getGlobalPermissions(String permissionType)
Methods in com.atlassian.confluence.security with parameters of type SpacePermission Modifier and Type Method Description boolean
DefaultSetSpacePermissionChecker. canSetPermission(com.atlassian.user.User user, SpacePermission spacePermission)
Checks whether the specified user can set the specified space permission.boolean
SetSpacePermissionChecker. canSetPermission(com.atlassian.user.User user, SpacePermission spacePermission)
boolean
SpacePermissionDefaultsPermissionChecker. canSetPermission(com.atlassian.user.User user, SpacePermission spacePermission)
boolean
SpacePermission. isDependentOn(SpacePermission otherPermission)
One permission is dependent on another if the other permission is a guard permission that applies to the same space/global scope, and to the same group / user / "all users" subject as this permission.boolean
DefaultSpacePermissionManager. permissionExists(SpacePermission permission)
Deprecated.Determines if permission exists in the SpacePermissionDaoboolean
ReadOnlySpacePermissionManager. permissionExists(SpacePermission arg0)
boolean
SpacePermissionCoordinator. permissionExists(SpacePermission permission)
boolean
SpacePermissionManager. permissionExists(SpacePermission permission)
Check whether the given SpacePermission exists.void
DefaultSpacePermissionManager. removePermission(SpacePermission permission)
Deprecated.void
DefaultSpacePermissionManager. removePermission(SpacePermission permission, SpacePermissionContext context)
Deprecated.void
ReadOnlySpacePermissionManager. removePermission(SpacePermission permission)
Deprecated.void
ReadOnlySpacePermissionManager. removePermission(SpacePermission permission, SpacePermissionContext context)
void
SpacePermissionCoordinator. removePermission(SpacePermission permission)
Deprecated.void
SpacePermissionCoordinator. removePermission(SpacePermission permission, SpacePermissionContext context)
Removes the specified permission.void
SpacePermissionManager. removePermission(SpacePermission permission)
Deprecated.since 5.9.protected void
DefaultSpacePermissionManager. removePermissionFromDao(SpacePermission realPermission)
Deprecated.Removes the permission from the data storevoid
DefaultSpacePermissionManager. savePermission(SpacePermission permission)
Deprecated.void
DefaultSpacePermissionManager. savePermission(SpacePermission permission, SpacePermissionContext context)
Deprecated.void
ReadOnlySpacePermissionManager. savePermission(SpacePermission permission)
Deprecated.void
ReadOnlySpacePermissionManager. savePermission(SpacePermission permission, SpacePermissionContext context)
void
SpacePermissionCoordinator. savePermission(SpacePermission permission)
Deprecated.void
SpacePermissionCoordinator. savePermission(SpacePermission permission, SpacePermissionContext context)
void
SpacePermissionSaver. savePermission(SpacePermission permission)
Deprecated.since 5.9.protected void
DefaultSpacePermissionManager. savePermissionToDao(SpacePermission permission)
Deprecated.Saves the permission to the data storeConstructors in com.atlassian.confluence.security with parameters of type SpacePermission Constructor Description SpacePermission(SpacePermission spacePermission)
Deprecated. -
Uses of SpacePermission in com.atlassian.confluence.security.access
Methods in com.atlassian.confluence.security.access with parameters of type SpacePermission Modifier and Type Method Description boolean
DefaultConfluenceAccessManager.AccessManagerPermissionChecker. permissionExists(SpacePermission permission)
Check whether the given SpacePermission exists. -
Uses of SpacePermission in com.atlassian.confluence.security.actions
Methods in com.atlassian.confluence.security.actions that return SpacePermission Modifier and Type Method Description SpacePermission
PermissionRow. getPermission(String permissionType)
Methods in com.atlassian.confluence.security.actions with parameters of type SpacePermission Modifier and Type Method Description void
PermissionRow. addPermissionType(SpacePermission permission)
-
Uses of SpacePermission in com.atlassian.confluence.security.administrators
Fields in com.atlassian.confluence.security.administrators with type parameters of type SpacePermission Modifier and Type Field Description protected List<SpacePermission>
DefaultPermissionsAdministrator. permissions
Deprecated.Methods in com.atlassian.confluence.security.administrators that return SpacePermission Modifier and Type Method Description SpacePermission
EditGlobalPermissionsAdministrator. createGroupGuardPermission(String guardPermission, String groupName)
Deprecated.Creates the relevant guard permission for the groupSpacePermission
EditPermissionsAdministrator. createGroupGuardPermission(String guardPermission, String groupName)
Creates the relevant guard permission for the groupSpacePermission
EditSpacePermissionsAdministrator. createGroupGuardPermission(String guardPermission, String groupName)
Deprecated.SpacePermission
EditGlobalPermissionsAdministrator. createUserGuardPermission(String guardPermission, ConfluenceUser user)
Deprecated.Creates the relevant guard permission for the userSpacePermission
EditPermissionsAdministrator. createUserGuardPermission(String guardPermission, ConfluenceUser user)
Creates the relevant guard permission for the userSpacePermission
EditSpacePermissionsAdministrator. createUserGuardPermission(String guardPermission, ConfluenceUser user)
Deprecated.Methods in com.atlassian.confluence.security.administrators that return types with arguments of type SpacePermission Modifier and Type Method Description protected Collection<SpacePermission>
AbstractEditPermissionsAdministrator. buildPermissionsFromWebForm(Space space, Map<String,?> formParameters, String parameterQualifier)
Deprecated.Private implementation that doesn't check to ensure space key is nullCollection<SpacePermission>
EditGlobalPermissionsAdministrator. buildPermissionsFromWebForm(Map formParameters, String parameterQualifier)
Deprecated.Given a map containing the web form parameters from a permissions edit, return the list of global permissions that are represented by the formCollection<SpacePermission>
EditPermissionsAdministrator. buildPermissionsFromWebForm(Map formParameters, String parameterQualifier)
Given a map containing the web form parameters from a permissions edit, return the list of global permissions that are represented by the formCollection<SpacePermission>
EditSpacePermissionsAdministrator. buildPermissionsFromWebForm(Map formParameters, String parameterQualifier)
Deprecated.Collection<SpacePermission>
EditGlobalPermissionsAdministrator. getInitialPermissionsFromForm(Map requestParams)
Deprecated.Retrieve the permissions initial stateCollection<SpacePermission>
EditPermissionsAdministrator. getInitialPermissionsFromForm(Map requestParams)
Retrieve the permissions initial stateCollection<SpacePermission>
EditSpacePermissionsAdministrator. getInitialPermissionsFromForm(Map requestParams)
Deprecated.List<SpacePermission>
DefaultPermissionsAdministrator. getPermissions()
Deprecated.List<SpacePermission>
PermissionResolver. getPermissions()
Returns the current permissions set for the entityList<SpacePermission>
PermissionsAdministrator. getPermissions()
Returns the current permissions set for the entityCollection<SpacePermission>
EditGlobalPermissionsAdministrator. getRequestedPermissionsFromForm(Map requestParams)
Deprecated.Retrieve the state of the permissions requested by the userCollection<SpacePermission>
EditPermissionsAdministrator. getRequestedPermissionsFromForm(Map requestParams)
Retrieve the state of the permissions requested by the userCollection<SpacePermission>
EditSpacePermissionsAdministrator. getRequestedPermissionsFromForm(Map requestParams)
Deprecated.Methods in com.atlassian.confluence.security.administrators with parameters of type SpacePermission Modifier and Type Method Description void
EditGlobalPermissionsAdministrator. addPermission(SpacePermission permissionToAdd)
Deprecated.Adds the given permission if the current user has permission to do so and updates the current active user count.void
EditPermissionsAdministrator. addPermission(SpacePermission permissionToAdd)
Adds the given permission if the current user has permission to do so, otherwise does nothing silently.void
EditSpacePermissionsAdministrator. addPermission(SpacePermission permissionToAdd)
Deprecated.protected boolean
AbstractEditPermissionsAdministrator. canAddPermission(SpacePermission permission)
Deprecated.Used by both space and global permission administrators to determine if the user can add the permission.void
AbstractEditPermissionsAdministrator. removePermission(SpacePermission permissionToRemove)
Deprecated.Removes the given permission if the current user has permission to do so, otherwise does nothing silently.void
EditGlobalPermissionsAdministrator. removePermission(SpacePermission permissionToRemove)
Deprecated.Removes the given permission if the current user has permission to do so and updates the current active user count.void
EditPermissionsAdministrator. removePermission(SpacePermission permissionToRemove)
Removes the given permission if the current user has permission to do so, otherwise does nothing silently.Method parameters in com.atlassian.confluence.security.administrators with type arguments of type SpacePermission Modifier and Type Method Description void
AbstractEditPermissionsAdministrator. addAllPermissions(Set<SpacePermission> permissionsToAdd)
Deprecated.Adds the given set of permissions if the current user has permission to do so, otherwise does nothing silently.void
EditPermissionsAdministrator. addAllPermissions(Set<SpacePermission> permissionsToAdd)
Adds the given set of permissions if the current user has permission to do so, otherwise does nothing silently.void
AbstractEditPermissionsAdministrator. applyPermissionChanges(Collection<SpacePermission> oldPermissions, Collection<SpacePermission> newPermissions)
Deprecated.void
EditGlobalPermissionsAdministrator. applyPermissionChanges(Collection<SpacePermission> oldPermissions, Collection<SpacePermission> newPermissions)
Deprecated.Given the old permissions and new permissions, apply necessary permission changes to make old permissions the same as new permissions, then reset the current active user count.void
EditPermissionsAdministrator. applyPermissionChanges(Collection<SpacePermission> oldPermissions, Collection<SpacePermission> newPermissions)
Given the old permissions and new permissions, apply necessary permission changes to make old permissions the same as new permissionsvoid
AbstractEditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.void
AbstractEditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.void
EditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.since 5.9, with no replacementvoid
EditPermissionsAdministrator. denyAnonymousPermissions(Collection<SpacePermission> currentPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.since 5.9, with no replacementboolean
AbstractEditPermissionsAdministrator. isRemoveAllAdminPermissions(Set<SpacePermission> permissionsToRemove)
Deprecated.Returns if all admin permissions would be removed by the request.boolean
EditPermissionsAdministrator. isRemoveAllAdminPermissions(Set<SpacePermission> permissionsToRemove)
Returns if all admin permissions would be removed by the request.void
AbstractEditPermissionsAdministrator. removeAllPermissions(Set<SpacePermission> permissionsToRemove)
Deprecated.Removes the given set of permissions if the current user has permission to do so, otherwise does nothing silently.void
EditPermissionsAdministrator. removeAllPermissions(Set<SpacePermission> permissionsToRemove)
Removes the given set of permissions if the current user has permission to do so, otherwise does nothing silently.void
EditSpacePermissionsAdministrator. removeAllPermissions(Set<SpacePermission> permissionsToRemove)
Deprecated.void
AbstractEditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.Determine which permissions need to be added or removed.void
AbstractEditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Deprecated.Determine which permissions need to be added or removed.void
EditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Determine which permissions need to be added or removed.void
EditPermissionsAdministrator. splitPermissions(Collection<SpacePermission> existingPermissions, Collection<SpacePermission> initialPermissions, Collection<SpacePermission> requestedPermissions, Set<SpacePermission> permissionsToAdd, Set<SpacePermission> permissionsToRemove)
Determine which permissions need to be added or removed. -
Uses of SpacePermission in com.atlassian.confluence.security.persistence.dao
Methods in com.atlassian.confluence.security.persistence.dao that return SpacePermission Modifier and Type Method Description SpacePermission
SpacePermissionDao. getById(long id)
Retrieves a single SpacePermission by its IDMethods in com.atlassian.confluence.security.persistence.dao that return types with arguments of type SpacePermission Modifier and Type Method Description List<SpacePermission>
SpacePermissionDao. findAllGlobalPermissions()
Retreives all global permissionsList<SpacePermission>
SpacePermissionDao. findAllGlobalPermissionsForType(String permissionType)
Retrieves all global permissions of type permissionTypeCollection<SpacePermission>
SpacePermissionDao. findGlobalGroupPermissions(String permissionType)
Find all global group permissions of typepermissionType
.Collection<SpacePermission>
SpacePermissionDao. findGroupPermissionsForSpace(Space space, String permissionType)
Find all group permissions of typepermissionType
forspace
.List<SpacePermission>
SpacePermissionDao. findPermissionsForGroup(String group)
Retrieves all permissions for groupList<SpacePermission>
SpacePermissionDao. findPermissionsForSpace(Space space)
Retrieves all permissions for spaceList<SpacePermission>
SpacePermissionDao. findPermissionsForUser(ConfluenceUser user)
Retrieves all permissions for userMethods in com.atlassian.confluence.security.persistence.dao with parameters of type SpacePermission Modifier and Type Method Description List
SpacePermissionDao. findPermissionTypes(SpacePermission permission)
Find all permission types matching the combination of (space, user, group, authenticated access subject) in permission.boolean
SpacePermissionDao. hasPermission(SpacePermission permission)
Determines whether permission exists in the data store -
Uses of SpacePermission in com.atlassian.confluence.security.persistence.dao.hibernate
Methods in com.atlassian.confluence.security.persistence.dao.hibernate that return SpacePermission Modifier and Type Method Description SpacePermission
HibernateSpacePermissionDao. getById(long id)
Methods in com.atlassian.confluence.security.persistence.dao.hibernate that return types with arguments of type SpacePermission Modifier and Type Method Description List<SpacePermission>
HibernateSpacePermissionDao. findAllGlobalPermissions()
List<SpacePermission>
HibernateSpacePermissionDao. findAllGlobalPermissionsForType(String permissionType)
Collection<SpacePermission>
HibernateSpacePermissionDao. findGlobalGroupPermissions(String permissionType)
Collection<SpacePermission>
HibernateSpacePermissionDao. findGroupPermissionsForSpace(Space space, String permissionType)
List<SpacePermission>
HibernateSpacePermissionDao. findPermissionsForGroup(String group)
List<SpacePermission>
HibernateSpacePermissionDao. findPermissionsForSpace(Space space)
List<SpacePermission>
HibernateSpacePermissionDao. findPermissionsForUser(ConfluenceUser user)
Class<SpacePermission>
HibernateSpacePermissionDao. getPersistentClass()
Methods in com.atlassian.confluence.security.persistence.dao.hibernate with parameters of type SpacePermission Modifier and Type Method Description List
HibernateSpacePermissionDao. findPermissionTypes(SpacePermission permission)
boolean
HibernateSpacePermissionDao. hasPermission(SpacePermission permission)
-
Uses of SpacePermission in com.atlassian.confluence.spaces
Methods in com.atlassian.confluence.spaces that return types with arguments of type SpacePermission Modifier and Type Method Description List<SpacePermission>
Space. getPermissions()
Methods in com.atlassian.confluence.spaces with parameters of type SpacePermission Modifier and Type Method Description void
Space. addPermission(SpacePermission permission)
void
Space. removePermission(SpacePermission permission)
Method parameters in com.atlassian.confluence.spaces with type arguments of type SpacePermission Modifier and Type Method Description void
Space. setPermissions(List<SpacePermission> permissions)
-
Uses of SpacePermission in com.atlassian.confluence.user.actions
Methods in com.atlassian.confluence.user.actions that return types with arguments of type SpacePermission Modifier and Type Method Description List<SpacePermission>
RemoveGroupAction. getGlobalPermissionsForThisGroup()
List<SpacePermission>
RemoveGroupAction. getGroupSpacePermissionsForSpace(Space space)
-