1
0
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:
Ruben S. Montero 2021-02-10 17:22:46 +00:00
parent fcbde101f9
commit ab260f6395
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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: