public interface RestGlobalPermissionService
Modifier and Type | Method and Description |
---|---|
List<RestGlobalPermission> |
getGroupPermissions(String groupName)
Retrieve a list of groups with their permissions filtered by group name.
|
RestGlobalPermission |
updateGroupPermission(RestGlobalPermission restGlobalPermission)
Update permission of a group in bamboo.
|
@NotNull List<RestGlobalPermission> getGroupPermissions(@NotNull String groupName) throws WebValidationException
groupName
- Group nameWebValidationException
- If groupName is empty@NotNull RestGlobalPermission updateGroupPermission(@Nullable RestGlobalPermission restGlobalPermission) throws WebValidationException
restGlobalPermission
- Permissions of the groupWebValidationException
- If parameter is invalid, e.g. name is empty, revoking SysAdmin permission from the last SysAdmin group.Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.