The "wheel" group is not existing on debian, check the "sudo" one instead
authorLaurent Bigonville <bigon@debian.org>
Thu, 15 Mar 2018 23:54:34 +0000 (23:54 +0000)
committerJeremy Bicha <jbicha@debian.org>
Mon, 19 Mar 2018 00:14:00 +0000 (00:14 +0000)
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760722
Forwarded: not-needed

Gbp-Pq: Name 07_polkit_wheel_sudo_group.patch

panels/common/gnome-control-center.rules

index 5b3da5db3bd17c89476cc9b087bb387f69a5183f..29bd1b00fba9941068b730731e3187d7178dd34c 100644 (file)
@@ -6,7 +6,7 @@ polkit.addRule(function(action, subject) {
             action.id == "org.gnome.controlcenter.datetime.configure") &&
            subject.local &&
            subject.active &&
-           subject.isInGroup ("wheel")) {
+           subject.isInGroup ("sudo")) {
                    return polkit.Result.YES;
            }
 });