config::acl: make /system/certificates a valid path

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-04-22 16:01:57 +02:00 committed by Dietmar Maurer
parent e8d9d9adfa
commit 3df77ef5da
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ pub fn check_acl_path(path: &str) -> Result<(), Error> {
return Ok(()); return Ok(());
} }
match components[1] { match components[1] {
"disks" | "log" | "status" | "tasks" | "time" => { "certificates" | "disks" | "log" | "status" | "tasks" | "time" => {
if components_len == 2 { if components_len == 2 {
return Ok(()); return Ok(());
} }