From be649b4efe412e5a97e1c699b22fa6158bc0667c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 30 Apr 2020 10:15:10 +0200 Subject: [PATCH] luci-app-yggdrasil: add uci permissions to ACL rules Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json b/applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json index 22e00ef8f..ab4410295 100644 --- a/applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json +++ b/applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json @@ -1,10 +1,14 @@ { "luci-app-yggdrasil": { "description": "Grant access to LuCI app yggdrasil", + "read": { + "uci": [ "yggdrasil" ] + }, "write": { "file": { "/usr/sbin/yggdrasilctl": [ "exec" ] - } + }, + "uci": [ "yggdrasil" ] } } } -- 2.25.1