summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock-fast/root/usr/share/rpcd
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-09-03 18:04:31 -0700
committerGitHub <noreply@github.com>2023-09-03 18:04:31 -0700
commit5112405d87ea899b988aa2c0e8031ba80602ecf9 (patch)
tree4b0a155f0e8e5aa492a1e57f505da8f5208551b5 /applications/luci-app-adblock-fast/root/usr/share/rpcd
parentc6aa813d9d232fbb6eea3fccc4387c4eeac4353c (diff)
parent81fc75739c13881ba339d02017ec3a5d2a32948d (diff)
Merge pull request #6544 from stangri/master-luci-app-adblock-fast
luci-app-adblock-fast: initial commit
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"
+ ]
+ }
+ }
+ }
+}