mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #-: Fix wrong defaul auth operation level
This commit is contained in:
parent
fcbde101f9
commit
ab260f6395
@ -61,14 +61,7 @@ public:
|
||||
*/
|
||||
AuthRequest::Operation get_vm_auth_op(VMActions::Action action) const
|
||||
{
|
||||
AuthRequest::Operation aop = vm_actions.get_auth_op(action);
|
||||
|
||||
if (aop == AuthRequest::NONE)
|
||||
{
|
||||
aop = AuthRequest::MANAGE;
|
||||
}
|
||||
|
||||
return aop;
|
||||
return vm_actions.get_auth_op(action);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user