summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json')
-rw-r--r--applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json b/applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json
new file mode 100644
index 000000000..a49d2f1e5
--- /dev/null
+++ b/applications/luci-app-minidlna/root/usr/share/rpcd/acl.d/luci-app-minidlna.json
@@ -0,0 +1,19 @@
+{
+ "luci-app-minidlna": {
+ "description": "Grant access to minidlna status and configuration",
+ "read": {
+ "cgi-io": [ "exec" ],
+ "file": {
+ "/usr/bin/wget -q http://127.0.0.1:[0-9]*/ -O -": [ "exec" ]
+ },
+ "uci": [
+ "minidlna"
+ ]
+ },
+ "write": {
+ "uci": [
+ "minidlna"
+ ]
+ }
+ }
+}