From fa2bdc130925e3f3925a5a2d877f96a71970e5b0 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 6 Jun 2020 15:48:15 +0200 Subject: [PATCH] src/config/acl.rs: add /system/disks to valid acl paths --- src/config/acl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/acl.rs b/src/config/acl.rs index f702ec4d..e44b0162 100644 --- a/src/config/acl.rs +++ b/src/config/acl.rs @@ -190,7 +190,7 @@ pub fn check_acl_path(path: &str) -> Result<(), Error> { "system" => { if components_len == 1 { return Ok(()); } match components[1] { - "log" | "status" | "tasks" | "time" => { + "disks" | "log" | "status" | "tasks" | "time" => { if components_len == 2 { return Ok(()); } } "services" => { // /system/services/{service}