summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nextdns/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-16 10:17:47 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-16 10:18:27 +0200
commit237db822bd5ac14b2af1f3874869c3c14b354631 (patch)
treeeaf940b767084e9e21eef573f11c44fc67b2c005 /applications/luci-app-nextdns/root/usr
parentdf892cc1672f6885120f7ee4c0650bcd8ed044ae (diff)
luci-app-nextdns: add uci ACL rules
Ref: https://github.com/openwrt/luci/pull/3921 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-nextdns/root/usr')
-rw-r--r--applications/luci-app-nextdns/root/usr/share/rpcd/acl.d/luci-app-nextdns.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-app-nextdns/root/usr/share/rpcd/acl.d/luci-app-nextdns.json b/applications/luci-app-nextdns/root/usr/share/rpcd/acl.d/luci-app-nextdns.json
index 2e7a64654a..f6425519a0 100644
--- a/applications/luci-app-nextdns/root/usr/share/rpcd/acl.d/luci-app-nextdns.json
+++ b/applications/luci-app-nextdns/root/usr/share/rpcd/acl.d/luci-app-nextdns.json
@@ -4,7 +4,11 @@
"read": {
"file": {
"/sbin/logread": [ "exec" ]
- }
+ },
+ "uci": [ "nextdns" ]
+ },
+ "write": {
+ "uci": [ "nextdns" ]
}
}
}