diff options
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json')
-rw-r--r-- | applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json | 15 |
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" ] + } + } + } +} |