]> git.proxmox.com Git - pve-access-control.git/commitdiff
rpc env: indentation fixes
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Mar 2022 11:24:57 +0000 (12:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Mar 2022 11:24:57 +0000 (12:24 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RPCEnvironment.pm

index f11517fc138325ec8cec013666d609ec9f244317..ed5625e8b65608c2163427ae1f0f4808df0714f8 100644 (file)
@@ -450,12 +450,12 @@ sub exec_api2_perm_check {
        } else {
            die "unknown userid-param test";
        }
        } else {
            die "unknown userid-param test";
        }
-     } elsif ($test eq 'perm-modify') {
+    } elsif ($test eq 'perm-modify') {
        my ($t, $tmplpath) = @$check;
        my $path = PVE::Tools::template_replace($tmplpath, $param);
        $path = PVE::AccessControl::normalize_path($path);
        return $self->check_perm_modify($username, $path, $noerr);
        my ($t, $tmplpath) = @$check;
        my $path = PVE::Tools::template_replace($tmplpath, $param);
        $path = PVE::AccessControl::normalize_path($path);
        return $self->check_perm_modify($username, $path, $noerr);
-   } else {
+    } else {
        die "unknown permission test";
     }
 };
        die "unknown permission test";
     }
 };