projects
/
gnome-control-center.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396ae4c
)
The "wheel" group is not existing on debian, check the "sudo" one instead
author
Laurent Bigonville
<bigon@debian.org>
Thu, 15 Mar 2018 23:54:34 +0000
(23:54 +0000)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/panels/common/gnome-control-center.rules
b/panels/common/gnome-control-center.rules
index 5b3da5db3bd17c89476cc9b087bb387f69a5183f..29bd1b00fba9941068b730731e3187d7178dd34c 100644
(file)
--- a/
panels/common/gnome-control-center.rules
+++ b/
panels/common/gnome-control-center.rules
@@
-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;
}
});