mirror of
https://github.com/openwrt/luci.git
synced 2025-01-31 08:21:48 +00:00
5865d02bfd
* 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>
21 lines
368 B
JSON
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"]
|
|
}
|
|
}
|
|
}
|
|
}
|