From 12e3895399ae86b17b29b83dc7e530bba7dcd154 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 20 May 2020 12:15:36 +0200 Subject: [PATCH] api2/access/acl: make update_acl a protected api call since we want to set the owner of the acl config to 'root' which is only possible when using a protected api call Signed-off-by: Dominik Csapak --- src/api2/access/acl.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api2/access/acl.rs b/src/api2/access/acl.rs index 1c7517dc..d436c437 100644 --- a/src/api2/access/acl.rs +++ b/src/api2/access/acl.rs @@ -103,6 +103,7 @@ pub fn read_acl( } #[api( + protected: true, input: { properties: { path: {