summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-30 10:15:10 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-30 10:15:10 +0200
commitbe649b4efe412e5a97e1c699b22fa6158bc0667c (patch)
treeee38d2a5cf7535126e90892895228924fbf25af0
parent81e80ed3323c780679dfe728e8954c147265e013 (diff)
luci-app-yggdrasil: add uci permissions to ACL rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--applications/luci-app-yggdrasil/root/usr/share/rpcd/acl.d/luci-app-yggdrasil.json6
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" ]
}
}
}