Interface GroupAdministrationConfigurationService
public interface GroupAdministrationConfigurationService
Checks, assigns and revokes access to administer groups by other groups and users
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupAdministrators(com.atlassian.crowd.model.group.Group group) Searches and returns all administrators a given groupvoidGrants administration rights basing on the passed mappingvoidGrants administration rights basing on the passed mappingvoidRemoves grant for the specified admin group and the target groupvoidRemoves grant for the specified admin user and the target group
-
Method Details
-
grantGroupPermissions
void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws com.atlassian.crowd.exception.GroupNotFoundException, com.atlassian.crowd.exception.FeatureInaccessibleException Grants administration rights basing on the passed mapping- Parameters:
mapping- the mapping- Throws:
com.atlassian.crowd.exception.GroupNotFoundExceptioncom.atlassian.crowd.exception.FeatureInaccessibleException
-
grantGroupPermissions
void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws com.atlassian.crowd.exception.UserNotFoundException, com.atlassian.crowd.exception.GroupNotFoundException, com.atlassian.crowd.exception.FeatureInaccessibleException Grants administration rights basing on the passed mapping- Parameters:
mapping- the mapping- Throws:
com.atlassian.crowd.exception.UserNotFoundExceptioncom.atlassian.crowd.exception.GroupNotFoundExceptioncom.atlassian.crowd.exception.FeatureInaccessibleException
-
revokeGroupPermissions
void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws com.atlassian.crowd.exception.GroupNotFoundException, com.atlassian.crowd.exception.FeatureInaccessibleException Removes grant for the specified admin group and the target group- Parameters:
mapping- data regarding the admin group and the target group- Throws:
com.atlassian.crowd.exception.GroupNotFoundExceptioncom.atlassian.crowd.exception.FeatureInaccessibleException
-
revokeGroupPermissions
void revokeGroupPermissions(UserGroupAdministrationMapping mapping) throws com.atlassian.crowd.exception.UserNotFoundException, com.atlassian.crowd.exception.GroupNotFoundException, com.atlassian.crowd.exception.FeatureInaccessibleException Removes grant for the specified admin user and the target group- Parameters:
mapping- data regarding the admin user and the target group- Throws:
com.atlassian.crowd.exception.UserNotFoundExceptioncom.atlassian.crowd.exception.GroupNotFoundExceptioncom.atlassian.crowd.exception.FeatureInaccessibleException
-
getGroupAdministrators
SingleGroupAdministrationMappings getGroupAdministrators(com.atlassian.crowd.model.group.Group group) throws com.atlassian.crowd.exception.GroupNotFoundException, com.atlassian.crowd.exception.FeatureInaccessibleException Searches and returns all administrators a given group- Parameters:
group- the group- Returns:
- the administrators
- Throws:
com.atlassian.crowd.exception.GroupNotFoundExceptioncom.atlassian.crowd.exception.FeatureInaccessibleException
-