luci-app-tor: fix ACL for tor-hs-rpc
authorSergey Ponomarev <stokito@gmail.com>
Thu, 8 Feb 2024 23:19:40 +0000 (01:19 +0200)
committerPaul Donald <itsascambutmailmeanyway@gmail.com>
Mon, 12 Feb 2024 13:26:55 +0000 (14:26 +0100)
The ACL has old tor_rpcd.sh which was changed in the tor-hs v0.0.1-3 to tor-hs-rpc.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json

index 81bb9272bd9c88eb831e9f5d114ef3dd62e4c8c8..0d109b1c98bef41fcf95c5d2872bfac6be5b0725 100644 (file)
@@ -3,7 +3,7 @@
                "description": "Grant UCI access for luci-app-tor",
                "read": {
                        "ubus": {
-                               "tor_rpcd.sh": [
+                               "tor-hs-rpc": [
                                        "list-hs"
                                ]
                        },