summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-smartdns/root
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-07-07 12:12:30 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-07-07 12:12:32 +0200
commit1b30e20eaa0d0db6686697f44764168edd11b757 (patch)
tree70438026cb3777f912c0aac08eab5784f40b0c07 /applications/luci-app-smartdns/root
parent3a5ee5c0b656bbbe6405ed7aaca724b8c30932d7 (diff)
luci-app-smartdns: fix acl for uci
fixes #4226 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-smartdns/root')
-rw-r--r--applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
index 659d6cd410..78fbb1c509 100644
--- a/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
+++ b/applications/luci-app-smartdns/root/usr/share/rpcd/acl.d/luci-app-smartdns.json
@@ -10,12 +10,14 @@
},
"ubus": {
"service": [ "list" ]
- }
+ },
+ "uci": [ "smartdns" ]
},
"write": {
"file": {
"/etc/smartdns/*": [ "write" ]
- }
+ },
+ "uci": [ "smartdns" ]
}
}
}