summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d')
-rw-r--r--applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json12
1 files changed, 7 insertions, 5 deletions
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
index ab946db77a..f03d0d1a45 100644
--- 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
@@ -2,16 +2,18 @@
"luci-app-uhttpd": {
"description": "Grant UCI access for luci-app-uhttpd",
"read": {
- "uci": [ "uhttpd" ],
+ "uci": ["uhttpd"],
"file": {
- "/*": ["read"]
+ "/*": ["read"],
+ "/etc/init.d/uhttpd restart": ["exec"]
}
},
"write": {
- "uci": [ "uhttpd" ],
+ "uci": ["uhttpd"],
"file": {
- "/*": ["write"],
- "/etc/init.d/uhttpd restart": ["exec"]
+ "/etc/luci-uploads/*": ["write"],
+ "/etc/uhttpd.key": ["write"],
+ "/etc/uhttpd.crt": ["write"]
}
}
}