Interface GroupAdministrationConfigurationService


public interface GroupAdministrationConfigurationService
Checks, assigns and revokes access to administer groups by other groups and users
Since:
3.3.0
  • 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.GroupNotFoundException
      com.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.UserNotFoundException
      com.atlassian.crowd.exception.GroupNotFoundException
      com.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.GroupNotFoundException
      com.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.UserNotFoundException
      com.atlassian.crowd.exception.GroupNotFoundException
      com.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.GroupNotFoundException
      com.atlassian.crowd.exception.FeatureInaccessibleException