installer: fixup polkit permissions
This commit is contained in:
parent
6ad9b13c42
commit
0570706bbe
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user