diff --git a/include/OpenNebulaTemplate.h b/include/OpenNebulaTemplate.h index 46c0c3a157..af5f66274e 100644 --- a/include/OpenNebulaTemplate.h +++ b/include/OpenNebulaTemplate.h @@ -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: