mirror of
https://github.com/apache/cloudstack
synced 2026-08-27 08:15:09 +00:00
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
Block a user