Jo-Philipp Wich dda30fe7f5 luci-app-transmission: grant access to group and passwd files
This is required for the user and group ID dropdowns in the
configuration.

Fixes: #4697
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1d9067b2715eede8c0e6977f9f1cc77037ff2842)
2021-09-24 20:10:31 +02:00

21 lines
396 B
JSON

{
"luci-app-transmission": {
"description": "Grant UCI access for luci-app-transmission",
"read": {
"file": {
"/etc/group": [ "read" ],
"/etc/passwd": [ "read" ],
"/usr/share/transmission/web/index.html": [ "list" ]
},
"ubus": {
"file": [ "stat" ],
"service": [ "list" ]
},
"uci": [ "transmission" ]
},
"write": {
"uci": [ "transmission" ]
}
}
}