0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-31 08:21:48 +00:00
Ayushman Tripathi 5865d02bfd luci-app-uhttpd: some fixes because of the lua to javascript porting
* Fix menu path for uhttpd
* Add hint that files could only be uploaded to /etc/luci-uploads
* Rename not knowing enable_delete FileUpload option to enable_remove
* Update ACL list

Signed-off-by: Ayushman Tripathi <ayushmantripathi7724@gmail.com>
Improvement of the commit title and description
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-06-22 16:02:29 +02:00

21 lines
368 B
JSON

{
"luci-app-uhttpd": {
"description": "Grant UCI access for luci-app-uhttpd",
"read": {
"uci": ["uhttpd"],
"file": {
"/*": ["read"],
"/etc/init.d/uhttpd restart": ["exec"]
}
},
"write": {
"uci": ["uhttpd"],
"file": {
"/etc/luci-uploads/*": ["write"],
"/etc/uhttpd.key": ["write"],
"/etc/uhttpd.crt": ["write"]
}
}
}
}