mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +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,
|
public void execute() throws ResourceUnavailableException,
|
||||||
InsufficientCapacityException, ServerApiException {
|
InsufficientCapacityException, ServerApiException {
|
||||||
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
||||||
AclRole result = _aclService.grantPermissionToAclRole(id, apiList);
|
AclRole result = _aclService.grantApiPermissionToAclRole(id, apiList);
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
||||||
response.setResponseName(getCommandName());
|
response.setResponseName(getCommandName());
|
||||||
|
|||||||
@ -92,7 +92,7 @@ public class RevokePermissionFromAclRoleCmd extends BaseAsyncCmd {
|
|||||||
public void execute() throws ResourceUnavailableException,
|
public void execute() throws ResourceUnavailableException,
|
||||||
InsufficientCapacityException, ServerApiException {
|
InsufficientCapacityException, ServerApiException {
|
||||||
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
CallContext.current().setEventDetails("Acl role Id: " + getId());
|
||||||
AclRole result = _aclService.revokePermissionFromAclRole(id, apiList);
|
AclRole result = _aclService.revokeApiPermissionFromAclRole(id, apiList);
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
AclRoleResponse response = _responseGenerator.createAclRoleResponse(result);
|
||||||
response.setResponseName(getCommandName());
|
response.setResponseName(getCommandName());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user