1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

F #4845: Add missing VM actions to get auth operation from configuration

This commit is contained in:
Ruben S. Montero 2017-01-30 13:46:05 +01:00
parent 61bfe3d6d0
commit 5a856f87d3
2 changed files with 4 additions and 0 deletions

View File

@ -114,6 +114,8 @@ public:
Nebula& nd = Nebula::instance();
pool = nd.get_vmpool();
auth_object = PoolObjectSQL::VM;
auth_op = nd.get_vm_auth_op(History::RENAME_ACTION);
};
~VirtualMachineRename(){};

View File

@ -81,6 +81,8 @@ public:
Nebula& nd = Nebula::instance();
pool = nd.get_vmpool();
auth_object = PoolObjectSQL::VM;
auth_op = nd.get_vm_auth_op(History::UPDATE_ACTION);
};
~VirtualMachineUpdateTemplate(){};