summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorRichard Yu <yurichard3839@gmail.com>2019-11-04 10:02:03 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2019-11-04 10:14:15 +0800
commitb83374b3401d33f1f1bc40bbb367991cc34cc918 (patch)
tree0207830ab0118912fe8d2fa86c35641f4384c925 /applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d
parent4e9f2d3f1ef21262e8c009579d235d355fbd467a (diff)
luci-app-shadowsocks-libev: port to client side
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json15
1 files changed, 15 insertions, 0 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
new file mode 100644
index 0000000000..eb56fd12a0
--- /dev/null
+++ b/applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json
@@ -0,0 +1,15 @@
+{
+ "luci-app-shadowsocks-libev": {
+ "description": "Grant service list access to LuCI app shadowsocks-libev",
+ "read": {
+ "ubus": {
+ "service": [ "list" ]
+ }
+ },
+ "write": {
+ "file": {
+ "/etc/shadowsocks-libev/*": [ "write" ]
+ }
+ }
+ }
+}