diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-30 10:15:10 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-30 10:15:10 +0200 |
commit | be649b4efe412e5a97e1c699b22fa6158bc0667c (patch) | |
tree | ee38d2a5cf7535126e90892895228924fbf25af0 /applications/luci-app-yggdrasil/root/usr/share | |
parent | 81e80ed3323c780679dfe728e8954c147265e013 (diff) |
luci-app-yggdrasil: add uci permissions to ACL rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-yggdrasil/root/usr/share')
-rw-r--r-- | applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json | 6 |
1 files changed, 5 insertions, 1 deletions
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" ] } } } |