Skip to content

Commit 6ebdcdc

Browse files
therealmatemmstick
authored andcommitted
fix: also accept "wheel" as group name for polkit authentication
Fixes #1293
1 parent d1d6f75 commit 6ebdcdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/polkit-1/rules.d/cosmic-settings.rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ polkit.addRule(function(action, subject) {
66
action.id == "org.freedesktop.hostname1.set-hostname") &&
77
subject.local &&
88
subject.active &&
9-
subject.isInGroup ("sudo")) {
9+
(subject.isInGroup("sudo") || subject.isInGroup("wheel"))) {
1010
return polkit.Result.YES;
1111
}
12-
});
12+
});

0 commit comments

Comments
 (0)