installer: fixup polkit permissions
This commit is contained in:
1 parent
6ad9b13c42
commit
0570706bbe
2 files changed
+2
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user