mirror of https://github.com/apache/cloudstack.git
Fix a little bug to resource owner to checkAccess.
This commit is contained in:
parent
3ee55cd17b
commit
6af57d08a6
|
|
@ -263,7 +263,7 @@ public class ParamProcessWorker implements DispatchWorker {
|
|||
}
|
||||
|
||||
if (!entitiesToOperate.isEmpty()) {
|
||||
_accountMgr.checkAccess(caller, AccessType.OperateEntry, apiName,
|
||||
_accountMgr.checkAccess(owner, AccessType.OperateEntry, apiName,
|
||||
entitiesToOperate.toArray(new ControlledEntity[entitiesToOperate.size()]));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue