luci-app-frpc: add uci file read permissions

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
This commit is contained in:
Huangbin Zhan 2020-05-07 17:36:45 +08:00 committed by zhanhb
parent e05c219b24
commit 30e3d277b6

View file

@ -2,6 +2,10 @@
"luci-app-frpc": { "luci-app-frpc": {
"description": "Grant access to LuCI app frpc", "description": "Grant access to LuCI app frpc",
"read": { "read": {
"file": {
"/etc/passwd": ["read"],
"/etc/group": ["read"]
},
"uci": ["frpc"] "uci": ["frpc"]
}, },
"write": { "write": {