public interface GroupAdministrationConfigurationService
Modifier and Type | Method and Description |
---|---|
SingleGroupAdministrationMappings |
getGroupAdministrators(Group group)
Searches and returns all administrators a given group
|
void |
grantGroupPermissions(GroupGroupAdministrationMapping mapping)
Grants administration rights basing on the passed mapping
|
void |
grantGroupPermissions(UserGroupAdministrationMapping mapping)
Grants administration rights basing on the passed mapping
|
void |
revokeGroupPermissions(GroupGroupAdministrationMapping mapping)
Removes grant for the specified admin group and the target group
|
void |
revokeGroupPermissions(UserGroupAdministrationMapping mapping)
Removes grant for the specified admin user and the target group
|
void grantGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
mapping
- the mappingGroupNotFoundException
FeatureInaccessibleException
void grantGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException
mapping
- the mappingUserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
void revokeGroupPermissions(GroupGroupAdministrationMapping mapping) throws GroupNotFoundException, FeatureInaccessibleException
mapping
- data regarding the admin group and the target groupGroupNotFoundException
FeatureInaccessibleException
void revokeGroupPermissions(UserGroupAdministrationMapping mapping) throws UserNotFoundException, GroupNotFoundException, FeatureInaccessibleException
mapping
- data regarding the admin user and the target groupUserNotFoundException
GroupNotFoundException
FeatureInaccessibleException
SingleGroupAdministrationMappings getGroupAdministrators(Group group) throws GroupNotFoundException, FeatureInaccessibleException
group
- the groupGroupNotFoundException
FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.