installer: fixup polkit permissions

This commit is contained in:
alfrix committed 2024-02-29 14:59:15 -03:00
1 parent 6ad9b13c42
commit 0570706bbe
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ this line may appear in KlipperScreen.log:
[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized
```
if version of KlipperScreen installed was previous than v0.3.8, then re-run the installer and reboot
if version of KlipperScreen installed was previous than v0.3.9, then re-run the installer and reboot
??? Alternative workaround for network-manager
+1 -2
View File
@@ -196,8 +196,7 @@ polkit.addRule(function(action, subject) {
action.id == "org.freedesktop.login1.reboot-multiple-sessions" ||
action.id == "org.freedesktop.login1.halt" ||
action.id == "org.freedesktop.login1.halt-multiple-sessions" ||
action.id == "org.freedesktop.NetworkManager.*" ||
action.id.startsWith("org.freedesktop.packagekit.")) &&
action.id.startsWith("org.freedesktop.NetworkManager.")) &&
subject.user == "$USER") {
// Only allow processes with the "klipperscreen" supplementary group
// access