mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: Fix wrong defaul auth operation level
(cherry picked from commit ab260f6395375de80353c8e0e66e6524dbeb42e6)
This commit is contained in:
parent
343530d587
commit
bfcef092f8
@ -60,14 +60,7 @@ public:
|
||||
*/
|
||||
AuthRequest::Operation get_vm_auth_op(VMActions::Action action)
|
||||
{
|
||||
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