mirror of
https://github.com/openwrt/luci.git
synced 2026-10-12 07:17:33 +04:00
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:
2 files changed
+2
-4
No files matched your search
@@ -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"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user