1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-14 01:57:24 +03:00

F #6315: Fix restricted attributes for updateconf (#2750)

This commit is contained in:
Pavel Czerný 2023-09-22 11:44:43 +02:00 committed by GitHub
parent da33a89513
commit 3008f8ab69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3646,7 +3646,7 @@ void VirtualMachineUpdateConf::request_execute(
{
string aname;
if ( vm->check_restricted(aname, uc_tmpl.get(), update_type == 1) )
if ( vm->check_restricted(aname, uc_tmpl.get(), true) )
{
att.resp_msg = "Template includes a restricted attribute " + aname;
failure_response(AUTHORIZATION, att);