summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shairplay
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-shairplay')
-rw-r--r--applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json1
-rw-r--r--applications/luci-app-shairplay/root/usr/share/rpcd/acl.d/luci-app-shairplay.json11
2 files changed, 12 insertions, 0 deletions
diff --git a/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json b/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json
index fae7319459..46cf40d60c 100644
--- a/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json
+++ b/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json
@@ -7,6 +7,7 @@
"post": { "cbi.submit": true }
},
"depends": {
+ "acl": [ "luci-app-shairplay" ],
"uci": { "shairplay": true }
}
}
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
index 0000000000..b755d17fb5
--- /dev/null
+++ b/applications/luci-app-shairplay/root/usr/share/rpcd/acl.d/luci-app-shairplay.json
@@ -0,0 +1,11 @@
+{
+ "luci-app-shairplay": {
+ "description": "Grant UCI access for luci-app-shairplay",
+ "read": {
+ "uci": [ "shairplay" ]
+ },
+ "write": {
+ "uci": [ "shairplay" ]
+ }
+ }
+}