luci-app-shadowsocks-libev: add uci permissions to ACL rules
authorJo-Philipp Wich <jo@mein.io>
Thu, 30 Apr 2020 08:11:33 +0000 (10:11 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 30 Apr 2020 08:12:18 +0000 (10:12 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-shadowsocks-libev/root/usr/share/rpcd/acl.d/luci-app-shadowsocks-libev.json

index eb56fd12a0e018c059e60e22c2b45e80eb8c24b1..d45fab94879c5644d5597f4f588b6908846fc68f 100644 (file)
@@ -4,12 +4,14 @@
                "read": {
                        "ubus": {
                                "service": [ "list" ]
-                       }
+                       },
+                       "uci": [ "shadowsocks-libev" ]
                },
                "write": {
                        "file": {
                                "/etc/shadowsocks-libev/*": [ "write" ]
-                       }
+                       },
+                       "uci": [ "shadowsocks-libev" ]
                }
        }
 }