]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC.pm
add old config and unprivileged to check_ct_modify_config_perm
[pve-container.git] / src / PVE / LXC.pm
index 139f901ee97fdc17c3eb6832989ebede26c18e3a..32a2127e5bd9637f5129c1d711808429f6ecb330 100644 (file)
@@ -1242,7 +1242,7 @@ sub template_create {
 }
 
 sub check_ct_modify_config_perm {
-    my ($rpcenv, $authuser, $vmid, $pool, $newconf, $delete) = @_;
+    my ($rpcenv, $authuser, $vmid, $pool, $oldconf, $newconf, $delete, $unprivileged) = @_;
 
     return 1 if $authuser eq 'root@pam';
     my $storage_cfg = PVE::Storage::config();