summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock-fast/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-adblock-fast/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-adblock-fast/root/usr/share/rpcd/acl.d/luci-app-adblock-fast.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/applications/luci-app-adblock-fast/root/usr/share/rpcd/acl.d/luci-app-adblock-fast.json b/applications/luci-app-adblock-fast/root/usr/share/rpcd/acl.d/luci-app-adblock-fast.json
new file mode 100644
index 0000000000..4ae446af6f
--- /dev/null
+++ b/applications/luci-app-adblock-fast/root/usr/share/rpcd/acl.d/luci-app-adblock-fast.json
@@ -0,0 +1,32 @@
+{
+ "luci-app-adblock-fast": {
+ "description": "Grant UCI and file access for luci-app-adblock-fast",
+ "read": {
+ "file": {
+ "/dev/shm/adblock-fast-status.json": [ "list", "read" ]
+ },
+ "ubus": {
+ "luci.adblock-fast": [
+ "getFileUrlFilesizes",
+ "getInitList",
+ "getInitStatus",
+ "getPlatformSupport"
+ ]
+ },
+ "uci": [
+ "adblock-fast",
+ "dhcp"
+ ]
+ },
+ "write": {
+ "uci": [
+ "adblock-fast"
+ ],
+ "ubus": {
+ "luci.adblock-fast": [
+ "setInitAction"
+ ]
+ }
+ }
+ }
+}