luci-app-frpc: add uci file read permissions 4028/head
authorHuangbin Zhan <zhanhb88@gmail.com>
Thu, 7 May 2020 09:36:45 +0000 (17:36 +0800)
committerzhanhb <6323014+zhanhb@users.noreply.github.com>
Thu, 7 May 2020 09:39:41 +0000 (17:39 +0800)
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json

index 8567eb3f3a8c1ff1120f43cff96179c77e536987..b2bb22325ab78073e57c76cbe82087e3e4d7e4a9 100644 (file)
@@ -2,6 +2,10 @@
        "luci-app-frpc": {
                "description": "Grant access to LuCI app frpc",
                "read": {
+                       "file": {
+                               "/etc/passwd": ["read"],
+                               "/etc/group": ["read"]
+                       },
                        "uci": ["frpc"]
                },
                "write": {