treewide: stage ACL rules for legacy applications
authorJo-Philipp Wich <jo@mein.io>
Fri, 10 Apr 2020 21:21:35 +0000 (23:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 19 May 2020 10:38:17 +0000 (12:38 +0200)
Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 43e872871a85dce70509c3c97c10e9c61788c378)

54 files changed:
applications/luci-app-ahcp/root/usr/share/rpcd/acl.d/luci-app-ahcp.json [new file with mode: 0644]
applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json [new file with mode: 0644]
applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json [new file with mode: 0644]
applications/luci-app-bcp38/root/usr/share/rpcd/acl.d/luci-app-bcp38.json [new file with mode: 0644]
applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json [new file with mode: 0644]
applications/luci-app-commands/root/usr/share/rpcd/acl.d/luci-app-commands.json [new file with mode: 0644]
applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json [new file with mode: 0644]
applications/luci-app-cshark/root/usr/share/rpcd/acl.d/luci-app-cshark.json [new file with mode: 0644]
applications/luci-app-dawn/root/usr/share/rpcd/acl.d/luci-app-dawn.json [new file with mode: 0644]
applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json [new file with mode: 0644]
applications/luci-app-dnscrypt-proxy/root/usr/share/rpcd/acl.d/luci-app-dnscrypt-proxy.json [new file with mode: 0644]
applications/luci-app-dump1090/root/usr/share/rpcd/acl.d/luci-app-dump1090.json [new file with mode: 0644]
applications/luci-app-dynapoint/root/usr/share/rpcd/acl.d/luci-app-dynapoint.json [new file with mode: 0644]
applications/luci-app-firewall/root/usr/share/rpcd/acl.d/luci-app-openvpn.json
applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json [new file with mode: 0644]
applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json [new file with mode: 0644]
applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json [new file with mode: 0644]
applications/luci-app-ltqtapi/root/usr/share/rpcd/acl.d/luci-app-ltqtapi.json [new file with mode: 0644]
applications/luci-app-lxc/root/usr/share/rpcd/acl.d/luci-app-lxc.json [new file with mode: 0644]
applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json [new file with mode: 0644]
applications/luci-app-mosquitto/root/usr/share/rpcd/acl.d/luci-app-mosquitto.json [new file with mode: 0644]
applications/luci-app-mwan3/root/usr/share/rpcd/acl.d/luci-app-mwan3.json [new file with mode: 0644]
applications/luci-app-nft-qos/root/usr/share/rpcd/acl.d/luci-app-nft-qos.json [new file with mode: 0644]
applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json [new file with mode: 0644]
applications/luci-app-noddos/root/usr/share/rpcd/acl.d/luci-app-noddos.json [new file with mode: 0644]
applications/luci-app-ntpc/root/usr/share/rpcd/acl.d/luci-app-ntpc.json [new file with mode: 0644]
applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json [new file with mode: 0644]
applications/luci-app-ocserv/root/usr/share/rpcd/acl.d/luci-app-ocserv.json [new file with mode: 0644]
applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr.json [new file with mode: 0644]
applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json [new file with mode: 0644]
applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json [new file with mode: 0644]
applications/luci-app-privoxy/root/usr/share/rpcd/acl.d/luci-app-privoxy.json [new file with mode: 0644]
applications/luci-app-qos/root/usr/share/rpcd/acl.d/luci-app-qos.json [new file with mode: 0644]
applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json [new file with mode: 0644]
applications/luci-app-radicale2/root/usr/share/rpcd/acl.d/luci-app-radicale2.json [new file with mode: 0644]
applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json [new file with mode: 0644]
applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json [new file with mode: 0644]
applications/luci-app-samba/root/usr/share/rpcd/acl.d/luci-app-samba.json [new file with mode: 0644]
applications/luci-app-shairplay/root/usr/share/rpcd/acl.d/luci-app-shairplay.json [new file with mode: 0644]
applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json [new file with mode: 0644]
applications/luci-app-snmpd/root/usr/share/rpcd/acl.d/luci-app-snmpd.json [new file with mode: 0644]
applications/luci-app-splash/root/usr/share/rpcd/acl.d/luci-app-splash.json [new file with mode: 0644]
applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json [new file with mode: 0644]
applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json [new file with mode: 0644]
applications/luci-app-tinyproxy/root/usr/share/rpcd/acl.d/luci-app-tinyproxy.json [new file with mode: 0644]
applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json [new file with mode: 0644]
applications/luci-app-udpxy/root/usr/share/rpcd/acl.d/luci-app-udpxy.json [new file with mode: 0644]
applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json [new file with mode: 0644]
applications/luci-app-unbound/root/usr/share/rpcd/acl.d/luci-app-unbound.json [new file with mode: 0644]
applications/luci-app-vnstat/root/usr/share/rpcd/acl.d/luci-app-vnstat.json [new file with mode: 0644]
applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json [new file with mode: 0644]
applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json [new file with mode: 0644]
applications/luci-app-watchcat/root/usr/share/rpcd/acl.d/luci-app-watchcat.json [new file with mode: 0644]
applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json [new file with mode: 0644]

diff --git a/applications/luci-app-ahcp/root/usr/share/rpcd/acl.d/luci-app-ahcp.json b/applications/luci-app-ahcp/root/usr/share/rpcd/acl.d/luci-app-ahcp.json
new file mode 100644 (file)
index 0000000..cdd8134
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-ahcp": {
+               "description": "Grant UCI access for luci-app-ahcp",
+               "read": {
+                       "uci": [ "ahcpd" ]
+               },
+               "write": {
+                       "uci": [ "ahcpd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json b/applications/luci-app-aria2/root/usr/share/rpcd/acl.d/luci-app-aria2.json
new file mode 100644 (file)
index 0000000..891f97c
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-aria2": {
+               "description": "Grant UCI access for luci-app-aria2",
+               "read": {
+                       "uci": [ "aria2" ]
+               },
+               "write": {
+                       "uci": [ "aria2" ]
+               }
+       }
+}
diff --git a/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json b/applications/luci-app-banip/root/usr/share/rpcd/acl.d/luci-app-banip.json
new file mode 100644 (file)
index 0000000..c4472c2
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-banip": {
+               "description": "Grant UCI access for luci-app-banip",
+               "read": {
+                       "uci": [ "banip" ]
+               },
+               "write": {
+                       "uci": [ "banip" ]
+               }
+       }
+}
diff --git a/applications/luci-app-bcp38/root/usr/share/rpcd/acl.d/luci-app-bcp38.json b/applications/luci-app-bcp38/root/usr/share/rpcd/acl.d/luci-app-bcp38.json
new file mode 100644 (file)
index 0000000..731c497
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-bcp38": {
+               "description": "Grant UCI access for luci-app-bcp38",
+               "read": {
+                       "uci": [ "bcp38" ]
+               },
+               "write": {
+                       "uci": [ "bcp38" ]
+               }
+       }
+}
diff --git a/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json b/applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json
new file mode 100644 (file)
index 0000000..09d46d0
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-clamav": {
+               "description": "Grant UCI access for luci-app-clamav",
+               "read": {
+                       "uci": [ "clamav" ]
+               },
+               "write": {
+                       "uci": [ "clamav" ]
+               }
+       }
+}
diff --git a/applications/luci-app-commands/root/usr/share/rpcd/acl.d/luci-app-commands.json b/applications/luci-app-commands/root/usr/share/rpcd/acl.d/luci-app-commands.json
new file mode 100644 (file)
index 0000000..45facdf
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-commands": {
+               "description": "Grant UCI access for luci-app-commands",
+               "read": {
+                       "uci": [ "luci" ]
+               },
+               "write": {
+                       "uci": [ "luci" ]
+               }
+       }
+}
diff --git a/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json b/applications/luci-app-coovachilli/root/usr/share/rpcd/acl.d/luci-app-coovachilli.json
new file mode 100644 (file)
index 0000000..a3643b5
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-coovachilli": {
+               "description": "Grant UCI access for luci-app-coovachilli",
+               "read": {
+                       "uci": [ "coovachilli" ]
+               },
+               "write": {
+                       "uci": [ "coovachilli" ]
+               }
+       }
+}
diff --git a/applications/luci-app-cshark/root/usr/share/rpcd/acl.d/luci-app-cshark.json b/applications/luci-app-cshark/root/usr/share/rpcd/acl.d/luci-app-cshark.json
new file mode 100644 (file)
index 0000000..32f5fb6
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-cshark": {
+               "description": "Grant UCI access for luci-app-cshark",
+               "read": {
+                       "uci": [ "cshark" ]
+               },
+               "write": {
+                       "uci": [ "cshark" ]
+               }
+       }
+}
diff --git a/applications/luci-app-dawn/root/usr/share/rpcd/acl.d/luci-app-dawn.json b/applications/luci-app-dawn/root/usr/share/rpcd/acl.d/luci-app-dawn.json
new file mode 100644 (file)
index 0000000..4fece64
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dawn": {
+               "description": "Grant UCI access for luci-app-dawn",
+               "read": {
+                       "uci": [ "dawn" ]
+               },
+               "write": {
+                       "uci": [ "dawn" ]
+               }
+       }
+}
diff --git a/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json b/applications/luci-app-dcwapd/root/usr/share/rpcd/acl.d/luci-app-dcwapd.json
new file mode 100644 (file)
index 0000000..07a392a
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dcwapd": {
+               "description": "Grant UCI access for luci-app-dcwapd",
+               "read": {
+                       "uci": [ "dcwapd" ]
+               },
+               "write": {
+                       "uci": [ "dcwapd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-dnscrypt-proxy/root/usr/share/rpcd/acl.d/luci-app-dnscrypt-proxy.json b/applications/luci-app-dnscrypt-proxy/root/usr/share/rpcd/acl.d/luci-app-dnscrypt-proxy.json
new file mode 100644 (file)
index 0000000..020bc21
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dnscrypt-proxy": {
+               "description": "Grant UCI access for luci-app-dnscrypt-proxy",
+               "read": {
+                       "uci": [ "dhcp", "dnscrypt-proxy" ]
+               },
+               "write": {
+                       "uci": [ "dhcp", "dnscrypt-proxy" ]
+               }
+       }
+}
diff --git a/applications/luci-app-dump1090/root/usr/share/rpcd/acl.d/luci-app-dump1090.json b/applications/luci-app-dump1090/root/usr/share/rpcd/acl.d/luci-app-dump1090.json
new file mode 100644 (file)
index 0000000..55fb9fd
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dump1090": {
+               "description": "Grant UCI access for luci-app-dump1090",
+               "read": {
+                       "uci": [ "dump1090" ]
+               },
+               "write": {
+                       "uci": [ "dump1090" ]
+               }
+       }
+}
diff --git a/applications/luci-app-dynapoint/root/usr/share/rpcd/acl.d/luci-app-dynapoint.json b/applications/luci-app-dynapoint/root/usr/share/rpcd/acl.d/luci-app-dynapoint.json
new file mode 100644 (file)
index 0000000..2dea0fc
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-dynapoint": {
+               "description": "Grant UCI access for luci-app-dynapoint",
+               "read": {
+                       "uci": [ "dynapoint", "wireless" ]
+               },
+               "write": {
+                       "uci": [ "dynapoint", "wireless" ]
+               }
+       }
+}
index bc9d8e184da456d14077a842410741ea948610dc..41f62ad2948c8dcefd57b0ef1acd4dd57e5a1d36 100644 (file)
@@ -1,11 +1,15 @@
 {
        "luci-app-openvpn": {
-               "description": "Grant file upload access to /etc/openvpn",
+               "description": "Grant access to OpenVPN configuration",
+               "read": {
+                       "uci": [ "openvpn" ]
+               },
                "write": {
                        "cgi-io": [ "upload" ],
                        "file": {
                                "/etc/openvpn/*": [ "write" ]
-                       }
+                       },
+                       "uci": [ "openvpn" ]
                }
        }
 }
diff --git a/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json b/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json
new file mode 100644 (file)
index 0000000..3877f87
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-fwknopd": {
+               "description": "Grant UCI access for luci-app-fwknopd",
+               "read": {
+                       "uci": [ "fwknopd" ]
+               },
+               "write": {
+                       "uci": [ "fwknopd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json
new file mode 100644 (file)
index 0000000..0a48a9a
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-hd-idle": {
+               "description": "Grant UCI access for luci-app-hd-idle",
+               "read": {
+                       "uci": [ "hd-idle" ]
+               },
+               "write": {
+                       "uci": [ "hd-idle" ]
+               }
+       }
+}
diff --git a/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json b/applications/luci-app-https-dns-proxy/root/usr/share/rpcd/acl.d/luci-app-https-dns-proxy.json
new file mode 100644 (file)
index 0000000..0886cc8
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-https-dns-proxy": {
+               "description": "Grant UCI access for luci-app-https-dns-proxy",
+               "read": {
+                       "uci": [ "https-dns-proxy" ]
+               },
+               "write": {
+                       "uci": [ "https-dns-proxy" ]
+               }
+       }
+}
diff --git a/applications/luci-app-ltqtapi/root/usr/share/rpcd/acl.d/luci-app-ltqtapi.json b/applications/luci-app-ltqtapi/root/usr/share/rpcd/acl.d/luci-app-ltqtapi.json
new file mode 100644 (file)
index 0000000..0d4df93
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-ltqtapi": {
+               "description": "Grant UCI access for luci-app-ltqtapi",
+               "read": {
+                       "uci": [ "telephony" ]
+               },
+               "write": {
+                       "uci": [ "telephony" ]
+               }
+       }
+}
diff --git a/applications/luci-app-lxc/root/usr/share/rpcd/acl.d/luci-app-lxc.json b/applications/luci-app-lxc/root/usr/share/rpcd/acl.d/luci-app-lxc.json
new file mode 100644 (file)
index 0000000..9cf9f3c
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-lxc": {
+               "description": "Grant UCI access for luci-app-lxc",
+               "read": {
+                       "uci": [ "lxc" ]
+               },
+               "write": {
+                       "uci": [ "lxc" ]
+               }
+       }
+}
diff --git a/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json b/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json
new file mode 100644 (file)
index 0000000..ab68a6e
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-mjpg-streamer": {
+               "description": "Grant UCI access for luci-app-mjpg-streamer",
+               "read": {
+                       "uci": [ "mjpg-streamer" ]
+               },
+               "write": {
+                       "uci": [ "mjpg-streamer" ]
+               }
+       }
+}
diff --git a/applications/luci-app-mosquitto/root/usr/share/rpcd/acl.d/luci-app-mosquitto.json b/applications/luci-app-mosquitto/root/usr/share/rpcd/acl.d/luci-app-mosquitto.json
new file mode 100644 (file)
index 0000000..dd3c6f7
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-mosquitto": {
+               "description": "Grant UCI access for luci-app-mosquitto",
+               "read": {
+                       "uci": [ "mosquitto" ]
+               },
+               "write": {
+                       "uci": [ "mosquitto" ]
+               }
+       }
+}
diff --git a/applications/luci-app-mwan3/root/usr/share/rpcd/acl.d/luci-app-mwan3.json b/applications/luci-app-mwan3/root/usr/share/rpcd/acl.d/luci-app-mwan3.json
new file mode 100644 (file)
index 0000000..539ed0f
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-mwan3": {
+               "description": "Grant UCI access for luci-app-mwan3",
+               "read": {
+                       "uci": [ "mwan3" ]
+               },
+               "write": {
+                       "uci": [ "mwan3" ]
+               }
+       }
+}
diff --git a/applications/luci-app-nft-qos/root/usr/share/rpcd/acl.d/luci-app-nft-qos.json b/applications/luci-app-nft-qos/root/usr/share/rpcd/acl.d/luci-app-nft-qos.json
new file mode 100644 (file)
index 0000000..b2de626
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-nft-qos": {
+               "description": "Grant UCI access for luci-app-nft-qos",
+               "read": {
+                       "uci": [ "nft-qos" ]
+               },
+               "write": {
+                       "uci": [ "nft-qos" ]
+               }
+       }
+}
diff --git a/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json b/applications/luci-app-nlbwmon/root/usr/share/rpcd/acl.d/luci-app-nlbwmon.json
new file mode 100644 (file)
index 0000000..0ccc5b1
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-nlbwmon": {
+               "description": "Grant UCI access for luci-app-nlbwmon",
+               "read": {
+                       "uci": [ "nlbwmon" ]
+               },
+               "write": {
+                       "uci": [ "nlbwmon" ]
+               }
+       }
+}
diff --git a/applications/luci-app-noddos/root/usr/share/rpcd/acl.d/luci-app-noddos.json b/applications/luci-app-noddos/root/usr/share/rpcd/acl.d/luci-app-noddos.json
new file mode 100644 (file)
index 0000000..1560c39
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-noddos": {
+               "description": "Grant UCI access for luci-app-noddos",
+               "read": {
+                       "uci": [ "noddos" ]
+               },
+               "write": {
+                       "uci": [ "noddos" ]
+               }
+       }
+}
diff --git a/applications/luci-app-ntpc/root/usr/share/rpcd/acl.d/luci-app-ntpc.json b/applications/luci-app-ntpc/root/usr/share/rpcd/acl.d/luci-app-ntpc.json
new file mode 100644 (file)
index 0000000..2b534a9
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-ntpc": {
+               "description": "Grant UCI access for luci-app-ntpc",
+               "read": {
+                       "uci": [ "ntpclient" ]
+               },
+               "write": {
+                       "uci": [ "ntpclient" ]
+               }
+       }
+}
diff --git a/applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json b/applications/luci-app-nut/root/usr/share/rpcd/acl.d/luci-app-nut.json
new file mode 100644 (file)
index 0000000..f9abbed
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-nut": {
+               "description": "Grant UCI access for luci-app-nut",
+               "read": {
+                       "uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
+               },
+               "write": {
+                       "uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
+               }
+       }
+}
diff --git a/applications/luci-app-ocserv/root/usr/share/rpcd/acl.d/luci-app-ocserv.json b/applications/luci-app-ocserv/root/usr/share/rpcd/acl.d/luci-app-ocserv.json
new file mode 100644 (file)
index 0000000..fce65d8
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-ocserv": {
+               "description": "Grant UCI access for luci-app-ocserv",
+               "read": {
+                       "uci": [ "ocserv" ]
+               },
+               "write": {
+                       "uci": [ "ocserv" ]
+               }
+       }
+}
diff --git a/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr.json b/applications/luci-app-olsr/root/usr/share/rpcd/acl.d/luci-app-olsr.json
new file mode 100644 (file)
index 0000000..246afbc
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-olsr": {
+               "description": "Grant UCI access for luci-app-olsr",
+               "read": {
+                       "uci": [ "luci_olsr", "olsrd", "olsrd6" ]
+               },
+               "write": {
+                       "uci": [ "luci_olsr", "olsrd", "olsrd6" ]
+               }
+       }
+}
diff --git a/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json b/applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json
new file mode 100644 (file)
index 0000000..b2e7476
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-p910nd": {
+               "description": "Grant UCI access for luci-app-p910nd",
+               "read": {
+                       "uci": [ "p910nd" ]
+               },
+               "write": {
+                       "uci": [ "p910nd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json b/applications/luci-app-polipo/root/usr/share/rpcd/acl.d/luci-app-polipo.json
new file mode 100644 (file)
index 0000000..5b9dfa8
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-polipo": {
+               "description": "Grant UCI access for luci-app-polipo",
+               "read": {
+                       "uci": [ "polipo" ]
+               },
+               "write": {
+                       "uci": [ "polipo" ]
+               }
+       }
+}
diff --git a/applications/luci-app-privoxy/root/usr/share/rpcd/acl.d/luci-app-privoxy.json b/applications/luci-app-privoxy/root/usr/share/rpcd/acl.d/luci-app-privoxy.json
new file mode 100644 (file)
index 0000000..6b328a0
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-privoxy": {
+               "description": "Grant UCI access for luci-app-privoxy",
+               "read": {
+                       "uci": [ "privoxy" ]
+               },
+               "write": {
+                       "uci": [ "privoxy" ]
+               }
+       }
+}
diff --git a/applications/luci-app-qos/root/usr/share/rpcd/acl.d/luci-app-qos.json b/applications/luci-app-qos/root/usr/share/rpcd/acl.d/luci-app-qos.json
new file mode 100644 (file)
index 0000000..f37a98e
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-qos": {
+               "description": "Grant UCI access for luci-app-qos",
+               "read": {
+                       "uci": [ "qos" ]
+               },
+               "write": {
+                       "uci": [ "qos" ]
+               }
+       }
+}
diff --git a/applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json b/applications/luci-app-radicale/root/usr/share/rpcd/acl.d/luci-app-radicale.json
new file mode 100644 (file)
index 0000000..122c856
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-radicale": {
+               "description": "Grant UCI access for luci-app-radicale",
+               "read": {
+                       "uci": [ "radicale" ]
+               },
+               "write": {
+                       "uci": [ "radicale" ]
+               }
+       }
+}
diff --git a/applications/luci-app-radicale2/root/usr/share/rpcd/acl.d/luci-app-radicale2.json b/applications/luci-app-radicale2/root/usr/share/rpcd/acl.d/luci-app-radicale2.json
new file mode 100644 (file)
index 0000000..edb1dbd
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-radicale2": {
+               "description": "Grant UCI access for luci-app-radicale2",
+               "read": {
+                       "uci": [ "radicale2" ]
+               },
+               "write": {
+                       "uci": [ "radicale2" ]
+               }
+       }
+}
diff --git a/applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json b/applications/luci-app-rosy-file-server/root/usr/share/rpcd/acl.d/luci-app-rosy-file-server.json
new file mode 100644 (file)
index 0000000..b5ce1ff
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-rosy-file-server": {
+               "description": "Grant UCI access for luci-app-rosy-file-server",
+               "read": {
+                       "uci": [ "rosyfs" ]
+               },
+               "write": {
+                       "uci": [ "rosyfs" ]
+               }
+       }
+}
diff --git a/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json b/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json
new file mode 100644 (file)
index 0000000..904faac
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-rp-pppoe-server": {
+               "description": "Grant UCI access for luci-app-rp-pppoe-server",
+               "read": {
+                       "uci": [ "pppoe" ]
+               },
+               "write": {
+                       "uci": [ "pppoe" ]
+               }
+       }
+}
diff --git a/applications/luci-app-samba/root/usr/share/rpcd/acl.d/luci-app-samba.json b/applications/luci-app-samba/root/usr/share/rpcd/acl.d/luci-app-samba.json
new file mode 100644 (file)
index 0000000..c261084
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-samba": {
+               "description": "Grant UCI access for luci-app-samba",
+               "read": {
+                       "uci": [ "samba" ]
+               },
+               "write": {
+                       "uci": [ "samba" ]
+               }
+       }
+}
diff --git a/applications/luci-app-shairplay/root/usr/share/rpcd/acl.d/luci-app-shairplay.json b/applications/luci-app-shairplay/root/usr/share/rpcd/acl.d/luci-app-shairplay.json
new file mode 100644 (file)
index 0000000..b755d17
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-shairplay": {
+               "description": "Grant UCI access for luci-app-shairplay",
+               "read": {
+                       "uci": [ "shairplay" ]
+               },
+               "write": {
+                       "uci": [ "shairplay" ]
+               }
+       }
+}
diff --git a/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json b/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json
new file mode 100644 (file)
index 0000000..8a89053
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-simple-adblock": {
+               "description": "Grant UCI access for luci-app-simple-adblock",
+               "read": {
+                       "uci": [ "simple-adblock" ]
+               },
+               "write": {
+                       "uci": [ "simple-adblock" ]
+               }
+       }
+}
diff --git a/applications/luci-app-snmpd/root/usr/share/rpcd/acl.d/luci-app-snmpd.json b/applications/luci-app-snmpd/root/usr/share/rpcd/acl.d/luci-app-snmpd.json
new file mode 100644 (file)
index 0000000..566e521
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-snmpd": {
+               "description": "Grant UCI access for luci-app-snmpd",
+               "read": {
+                       "uci": [ "snmpd" ]
+               },
+               "write": {
+                       "uci": [ "snmpd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-splash/root/usr/share/rpcd/acl.d/luci-app-splash.json b/applications/luci-app-splash/root/usr/share/rpcd/acl.d/luci-app-splash.json
new file mode 100644 (file)
index 0000000..49801fb
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-splash": {
+               "description": "Grant UCI access for luci-app-splash",
+               "read": {
+                       "uci": [ "luci_splash" ]
+               },
+               "write": {
+                       "uci": [ "luci_splash" ]
+               }
+       }
+}
diff --git a/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json b/applications/luci-app-sqm/root/usr/share/rpcd/acl.d/luci-app-sqm.json
new file mode 100644 (file)
index 0000000..583a54a
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-sqm": {
+               "description": "Grant UCI access for luci-app-sqm",
+               "read": {
+                       "uci": [ "sqm" ]
+               },
+               "write": {
+                       "uci": [ "sqm" ]
+               }
+       }
+}
diff --git a/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json b/applications/luci-app-squid/root/usr/share/rpcd/acl.d/luci-app-squid.json
new file mode 100644 (file)
index 0000000..91f8b5b
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-squid": {
+               "description": "Grant UCI access for luci-app-squid",
+               "read": {
+                       "uci": [ "squid" ]
+               },
+               "write": {
+                       "uci": [ "squid" ]
+               }
+       }
+}
diff --git a/applications/luci-app-tinyproxy/root/usr/share/rpcd/acl.d/luci-app-tinyproxy.json b/applications/luci-app-tinyproxy/root/usr/share/rpcd/acl.d/luci-app-tinyproxy.json
new file mode 100644 (file)
index 0000000..db72beb
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-tinyproxy": {
+               "description": "Grant UCI access for luci-app-tinyproxy",
+               "read": {
+                       "uci": [ "tinyproxy" ]
+               },
+               "write": {
+                       "uci": [ "tinyproxy" ]
+               }
+       }
+}
diff --git a/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json b/applications/luci-app-travelmate/root/usr/share/rpcd/acl.d/luci-app-travelmate.json
new file mode 100644 (file)
index 0000000..a66bc8a
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-travelmate": {
+               "description": "Grant UCI access for luci-app-travelmate",
+               "read": {
+                       "uci": [ "travelmate" ]
+               },
+               "write": {
+                       "uci": [ "travelmate" ]
+               }
+       }
+}
diff --git a/applications/luci-app-udpxy/root/usr/share/rpcd/acl.d/luci-app-udpxy.json b/applications/luci-app-udpxy/root/usr/share/rpcd/acl.d/luci-app-udpxy.json
new file mode 100644 (file)
index 0000000..c8aacef
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-udpxy": {
+               "description": "Grant UCI access for luci-app-udpxy",
+               "read": {
+                       "uci": [ "udpxy" ]
+               },
+               "write": {
+                       "uci": [ "udpxy" ]
+               }
+       }
+}
diff --git a/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json b/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json
new file mode 100644 (file)
index 0000000..d3b9352
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-uhttpd": {
+               "description": "Grant UCI access for luci-app-uhttpd",
+               "read": {
+                       "uci": [ "uhttpd" ]
+               },
+               "write": {
+                       "uci": [ "uhttpd" ]
+               }
+       }
+}
diff --git a/applications/luci-app-unbound/root/usr/share/rpcd/acl.d/luci-app-unbound.json b/applications/luci-app-unbound/root/usr/share/rpcd/acl.d/luci-app-unbound.json
new file mode 100644 (file)
index 0000000..6077902
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-unbound": {
+               "description": "Grant UCI access for luci-app-unbound",
+               "read": {
+                       "uci": [ "unbound" ]
+               },
+               "write": {
+                       "uci": [ "unbound" ]
+               }
+       }
+}
diff --git a/applications/luci-app-vnstat/root/usr/share/rpcd/acl.d/luci-app-vnstat.json b/applications/luci-app-vnstat/root/usr/share/rpcd/acl.d/luci-app-vnstat.json
new file mode 100644 (file)
index 0000000..01d4134
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-vnstat": {
+               "description": "Grant UCI access for luci-app-vnstat",
+               "read": {
+                       "uci": [ "vnstat" ]
+               },
+               "write": {
+                       "uci": [ "vnstat" ]
+               }
+       }
+}
diff --git a/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json b/applications/luci-app-vpn-policy-routing/root/usr/share/rpcd/acl.d/luci-app-vpn-policy-routing.json
new file mode 100644 (file)
index 0000000..64e73de
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-vpn-policy-routing": {
+               "description": "Grant UCI access for luci-app-vpn-policy-routing",
+               "read": {
+                       "uci": [ "vpn-policy-routing" ]
+               },
+               "write": {
+                       "uci": [ "vpn-policy-routing" ]
+               }
+       }
+}
diff --git a/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json b/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json
new file mode 100644 (file)
index 0000000..219307e
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-vpnbypass": {
+               "description": "Grant UCI access for luci-app-vpnbypass",
+               "read": {
+                       "uci": [ "dhcp", "vpnbypass" ]
+               },
+               "write": {
+                       "uci": [ "dhcp", "vpnbypass" ]
+               }
+       }
+}
diff --git a/applications/luci-app-watchcat/root/usr/share/rpcd/acl.d/luci-app-watchcat.json b/applications/luci-app-watchcat/root/usr/share/rpcd/acl.d/luci-app-watchcat.json
new file mode 100644 (file)
index 0000000..29de34b
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-watchcat": {
+               "description": "Grant UCI access for luci-app-watchcat",
+               "read": {
+                       "uci": [ "system" ]
+               },
+               "write": {
+                       "uci": [ "system" ]
+               }
+       }
+}
diff --git a/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json b/applications/luci-app-wifischedule/root/usr/share/rpcd/acl.d/luci-app-wifischedule.json
new file mode 100644 (file)
index 0000000..df44e7c
--- /dev/null
@@ -0,0 +1,11 @@
+{
+       "luci-app-wifischedule": {
+               "description": "Grant UCI access for luci-app-wifischedule",
+               "read": {
+                       "uci": [ "wifi_schedule" ]
+               },
+               "write": {
+                       "uci": [ "wifi_schedule" ]
+               }
+       }
+}