summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-30 10:11:33 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-30 10:12:18 +0200
commit81e80ed3323c780679dfe728e8954c147265e013 (patch)
tree89c5ff0f494f151cc20945b2aa4e545720c010f0 /applications/luci-app-shadowsocks-libev/root
parent53dd5fd6acbee62436322ca0067d69899bfb721b (diff)
luci-app-shadowsocks-libev: add uci permissions to ACL rules
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/root')
-rw-r--r--applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json b/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json
index eb56fd12a..d45fab948 100644
--- a/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json
+++ b/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json
@@ -4,12 +4,14 @@
"read": {
"ubus": {
"service": [ "list" ]
- }
+ },
+ "uci": [ "shadowsocks-libev" ]
},
"write": {
"file": {
"/etc/shadowsocks-libev/*": [ "write" ]
- }
+ },
+ "uci": [ "shadowsocks-libev" ]
}
}
}