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