luci-app-travelmate: fix WLAN scan for non-root users

- added the missing "download" scope to cgi-io Path access remains restricted by the
  existing file ACL, so no additional file becomes readable. Also drop the
  stale travelmate.pid entry, it has no consumer in the frontend anymore.

Fixes: https://github.com/openwrt/luci/issues/8840

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken committed 2026-07-19 18:03:34 +02:00
1 parent 51df0fe187
commit 806cd13419
2 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ LUCI_TITLE:=LuCI support for Travelmate
LUCI_DEPENDS:=+luci-base +luci-lib-uqr +travelmate
PKG_VERSION:=2.4.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
@@ -13,15 +13,13 @@
},
"read": {
"cgi-io": [
"download",
"exec"
],
"file": {
"/etc/travelmate/*.login": [
"list"
],
"/var/run/travelmate/travelmate.pid": [
"read"
],
"/var/run/travelmate/travelmate.scan": [
"read"
],