summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-10 22:55:06 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-10 22:55:06 +0200
commitd9084c5fb6ad574396a8f103073cab0480f2ddd1 (patch)
treea4a94c3fbb3b896f75f1be064c7135be18ca9a68
parent4feab2e4005a0a883c2f2fb49f520f5e2cc05525 (diff)
luci-app-adblock: grant uci access in read ACL rule
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json b/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
index 557e5328c..3f52b7eea 100644
--- a/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
+++ b/applications/luci-app-adblock/root/usr/share/rpcd/acl.d/luci-app-adblock.json
@@ -24,7 +24,8 @@
"/etc/init.d/adblock report * [0-9]* [a-z]* json" : [ "exec" ],
"/etc/init.d/adblock timer * [0-9]* [0-9*]* [1-7,-*]*" : [ "exec" ],
"/etc/init.d/adblock query *" : [ "exec" ]
- }
+ },
+ "uci": ["adblock"]
}
}
}