From fb0c163789baf7a3fd76dd690b2d34b6bcd575a7 Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Tue, 23 Apr 2024 13:51:57 +0200 Subject: [PATCH] pbs-config: acl: add /system/notifications as known ACL path This one will be used for configuring the new notification stack. Signed-off-by: Lukas Wagner Tested-by: Gabriel Goller Reviewed-by: Gabriel Goller Tested-by: Maximiliano Sandoval Signed-off-by: Thomas Lamprecht --- pbs-config/src/acl.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pbs-config/src/acl.rs b/pbs-config/src/acl.rs index a0354a05..f78d69cd 100644 --- a/pbs-config/src/acl.rs +++ b/pbs-config/src/acl.rs @@ -100,7 +100,8 @@ pub fn check_acl_path(path: &str) -> Result<(), Error> { return Ok(()); } match components[1] { - "certificates" | "disks" | "log" | "status" | "tasks" | "time" => { + "certificates" | "disks" | "log" | "notifications" | "status" | "tasks" + | "time" => { if components_len == 2 { return Ok(()); }