luci-app-transmission: grant access to group and passwd files
authorJo-Philipp Wich <jo@mein.io>
Fri, 24 Sep 2021 18:08:59 +0000 (20:08 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 24 Sep 2021 18:10:14 +0000 (20:10 +0200)
This is required for the user and group ID dropdowns in the
configuration.

Fixes: #4697
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-transmission/root/usr/share/rpcd/acl.d/luci-app-transmission.json

index e2fc75d842defc04346b8cbeafc0c7595a4296e8..f0603d1536a7cf7c3d790d9cdf6c0d15d7bfaa27 100644 (file)
@@ -3,6 +3,8 @@
                "description": "Grant UCI access for luci-app-transmission",
                "read": {
                        "file": {
+                               "/etc/group": [ "read" ],
+                               "/etc/passwd": [ "read" ],
                                "/usr/share/transmission/web/index.html": [ "list" ]
                        },
                        "ubus": {