luci-mod-network: add getHostHints to luci-rpc permissions
authorPaul Donald <newtwen@gmail.com>
Thu, 25 Jan 2024 00:36:57 +0000 (01:36 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 25 Jan 2024 00:37:14 +0000 (01:37 +0100)
it would seem that this was forgotten somewhere along the way

Signed-off-by: Paul Donald <newtwen@gmail.com>
modules/luci-mod-network/root/usr/share/rpcd/acl.d/luci-mod-network.json

index b377f395f093b5b1f78a1f7438a3d0ea45b28441..6e9118ac1bf47e5750ff8f061f25ea5614e08e6c 100644 (file)
@@ -39,7 +39,7 @@
                "description": "Grant access to DHCP configuration",
                "read": {
                        "ubus": {
-                               "luci-rpc": [ "getDHCPLeases", "getDUIDHints" ]
+                               "luci-rpc": [ "getDHCPLeases", "getDUIDHints", "getHostHints" ]
                        },
                        "uci": [ "dhcp" ]
                },