From ab260f6395375de80353c8e0e66e6524dbeb42e6 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Wed, 10 Feb 2021 17:22:46 +0000 Subject: [PATCH] M #-: Fix wrong defaul auth operation level --- include/OpenNebulaTemplate.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/OpenNebulaTemplate.h b/include/OpenNebulaTemplate.h index a7be814b0a..420446e906 100644 --- a/include/OpenNebulaTemplate.h +++ b/include/OpenNebulaTemplate.h @@ -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: