summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-minidlna/root/usr/share/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-03-01 20:21:14 +0100
committerJo-Philipp Wich <jo@mein.io>2020-03-01 20:21:14 +0100
commit9ae591b38fedf16c3e5c97350b7182c5e28ed71f (patch)
tree9995b63807ebb39a0fd92e0a17807e86cbb67bc8 /applications/luci-app-minidlna/root/usr/share/rpcd
parent0d68d0ad7bd2ab036caba973daa85864f8ec81a3 (diff)
luci-app-minidlna: convert to client side rendering
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-minidlna/root/usr/share/rpcd')
-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 0000000000..a49d2f1e57
--- /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"
+ ]
+ }
+ }
+}