summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-upnp/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-upnp/root/usr/share')
-rw-r--r--applications/luci-app-upnp/root/usr/share/rpcd/acl.d/luci-app-upnp.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-upnp/root/usr/share/rpcd/acl.d/luci-app-upnp.json b/applications/luci-app-upnp/root/usr/share/rpcd/acl.d/luci-app-upnp.json
new file mode 100644
index 0000000000..b01ffb2007
--- /dev/null
+++ b/applications/luci-app-upnp/root/usr/share/rpcd/acl.d/luci-app-upnp.json
@@ -0,0 +1,17 @@
+{
+ "luci-app-ddns": {
+ "description": "Grant access to upnp procedures",
+ "read": {
+ "ubus": {
+ "luci.upnp": [ "get_status" ],
+ "luci": [ "setInitAction" ]
+ }
+ },
+ "write": {
+ "ubus": {
+ "luci.upnp": [ "delete_rule" ]
+ },
+ "uci": [ "upnpd" ]
+ }
+ }
+}