@Deprecated public class GlobalPermissionResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestGlobalPermission |
REST_USER_GROUP_PERMISSION
Deprecated.
|
static List<RestGlobalPermission> |
REST_USER_GROUP_PERMISSIONS
Deprecated.
|
Constructor and Description |
---|
GlobalPermissionResource(BambooPermissionManager bambooPermissionManager,
HibernateMutableAclService aclService,
GlobalPermissionConversionFunction function,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
BambooUserManager userManager,
AdministrationConfigurationAccessor administrationConfigurationAccessor,
AdministrationConfigurationPersister administrationConfigurationPersister,
GlobalPermissionsService globalPermissionsService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<RestGlobalPermission> |
getGroupPermission(String groupName,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Retrieve a list of groups with their permissions.
|
List<RestGlobalPermission> |
getRolePermission(String roleName,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Retrieve a list of roles with their permissions.
|
List<RestGlobalPermission> |
getUserPermission(String userName,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Retrieve a list of users with their permissions.
|
RestGlobalPermission |
updateGroupPermission(RestGlobalPermission restGlobalPermission,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Update global permissions of a group.
|
RestGlobalPermission |
updateRolePermission(RestGlobalPermission restGlobalPermission,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Update global permissions of a role.
|
RestGlobalPermission |
updateUserPermission(RestGlobalPermission restGlobalPermission,
javax.ws.rs.core.UriInfo uriInfo)
Deprecated.
Update global permissions of a user.
|
public static final RestGlobalPermission REST_USER_GROUP_PERMISSION
public static final List<RestGlobalPermission> REST_USER_GROUP_PERMISSIONS
public GlobalPermissionResource(BambooPermissionManager bambooPermissionManager, HibernateMutableAclService aclService, GlobalPermissionConversionFunction function, com.atlassian.sal.api.message.I18nResolver i18nResolver, BambooUserManager userManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister, GlobalPermissionsService globalPermissionsService)
@NotNull public List<RestGlobalPermission> getUserPermission(@Nullable String userName, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
userName
- user nameWebValidationException
@NotNull public List<RestGlobalPermission> getGroupPermission(@Nullable String groupName, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
groupName
- Group nameWebValidationException
@NotNull public List<RestGlobalPermission> getRolePermission(@Nullable String roleName, @NotNull @Context Expansion expansion, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
roleName
- name of the roleexpansion
- uriInfo
- WebValidationException
@NotNull public RestGlobalPermission updateUserPermission(@Nullable RestGlobalPermission restGlobalPermission, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restGlobalPermission
- Permission model of the userWebValidationException
@NotNull public RestGlobalPermission updateGroupPermission(@Nullable RestGlobalPermission restGlobalPermission, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restGlobalPermission
- Permission model of the groupWebValidationException
public RestGlobalPermission updateRolePermission(@Nullable RestGlobalPermission restGlobalPermission, @NotNull @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
restGlobalPermission
- uriInfo
- WebValidationException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.