mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix compilation issue due to method rename.
This commit is contained in:
parent
8c15e61653
commit
bcd4cdd295
@ -92,7 +92,7 @@ public class GrantPermissionToAclRoleCmd extends BaseAsyncCmd {
|
||||
public void execute() throws ResourceUnavailableException,
|
||||
InsufficientCapacityException, ServerApiException {
|
||||
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
||||
AclRole result = _aclService.grantPermissionToAclRole(id, apiList);
|
||||
AclRole result = _aclService.grantApiPermissionToAclRole(id, apiList);
|
||||
if (result != null) {
|
||||
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
||||
response.setResponseName(getCommandName());
|
||||
|
||||
@ -92,7 +92,7 @@ public class RevokePermissionFromAclRoleCmd extends BaseAsyncCmd {
|
||||
public void execute() throws ResourceUnavailableException,
|
||||
InsufficientCapacityException, ServerApiException {
|
||||
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
||||
AclRole result = _aclService.revokePermissionFromAclRole(id, apiList);
|
||||
AclRole result = _aclService.revokeApiPermissionFromAclRole(id, apiList);
|
||||
if (result != null) {
|
||||
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
||||
response.setResponseName(getCommandName());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user