luci-mod-status: fix ACL for channel analysis
authorErik Karlsson <redacted>
Fri, 22 Apr 2022 08:07:32 +0000 (10:07 +0200)
committerErik Karlsson <redacted>
Mon, 27 Nov 2023 10:16:29 +0000 (11:16 +0100)
Without this fix channel analysis will not work unless write access is
also granted to luci-mod-network-config

Signed-off-by: Erik Karlsson <redacted>
modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json

index 18d267e80140d82616da51861501134bdf3429a6..45dd7d7d9e4e1be554c1c26aa527b2c7f811b4a7 100644 (file)
@@ -61,7 +61,7 @@
                "description": "Grant access to wireless channel status",
                "read": {
                        "ubus": {
-                               "iwinfo": [ "info", "freqlist" ]
+                               "iwinfo": [ "info", "freqlist", "scan" ]
                        }
                }
        },
git clone https://git.99rst.org/PROJECT