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 <newtwen@gmail.com>
Wed, 14 Feb 2024 22:13:26 +0000 (23:13 +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>
(cherry picked from commit a4e586397e9d5695b2c435b03fb5b5da27ac6aa0)

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"
                                ]
                        },