summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json
diff options
context:
space:
mode:
authorAyushman Tripathi <ayushmantripathi7724@gmail.com>2023-04-25 16:55:27 +0530
committerAyushman Tripathi <ayushmantripathi7724@gmail.com>2023-06-20 19:02:39 +0530
commit678657bebb7eadae08f69caccc4d880757fc9dd1 (patch)
treed41249d7620e085c398ebfe751eaf289ffc43d81 /applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json
parentad3509bf3bb5dfa79af634c841d584408068fb0a (diff)
luci-app-uhttpd: migrate to js
Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-uhttpd: migrate to js spaces to tab Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-uhttpd: migrate to js Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-uhttpd: migrate to JavaScript-based implementation tab spaces Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-uhttpd: migrate to js luci-app-uhttpd: migrate to JavaScript-based implementation formatting Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com> luci-app-uhttpd: migrate to js luci-app-uhttpd: migrate to JavaScript-based implementation fix formatting bug luci-app-uhttpd: migrate to js luci-app-uhttpd: migrate to JavaScript-based implementation fix upload bug luci-app-uhttpd: migrate to js luci-app-uhttpd: migrate to js update dependency luci-app-uhttpd: migrate to js
Diffstat (limited to 'applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json')
-rw-r--r--applications/luci-app-uhttpd/root/usr/share/rpcd/acl.d/luci-app-uhttpd.json11
1 files changed, 9 insertions, 2 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 d3b93523cc..ab946db77a 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,10 +2,17 @@
"luci-app-uhttpd": {
"description": "Grant UCI access for luci-app-uhttpd",
"read": {
- "uci": [ "uhttpd" ]
+ "uci": [ "uhttpd" ],
+ "file": {
+ "/*": ["read"]
+ }
},
"write": {
- "uci": [ "uhttpd" ]
+ "uci": [ "uhttpd" ],
+ "file": {
+ "/*": ["write"],
+ "/etc/init.d/uhttpd restart": ["exec"]
+ }
}
}
}