config::acl: make /system/certificates a valid path
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
e8d9d9adfa
commit
3df77ef5da
|
@ -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(());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue