[gnome-control-center] common: Ship a PolicyKit rule for the datetime panel
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] common: Ship a PolicyKit rule for the datetime panel
- Date: Mon, 19 Aug 2013 16:10:03 +0000 (UTC)
commit 88eeb8cb2d28d75610b1fa39839e69388ceb4eca
Author: Kalev Lember <kalevlember gmail com>
Date: Sat Aug 17 09:59:22 2013 +0200
common: Ship a PolicyKit rule for the datetime panel
Allow local admins with an active session use the Date & Time panel
without requiring a password.
https://bugzilla.gnome.org/show_bug.cgi?id=646185
panels/common/gnome-control-center.rules | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/common/gnome-control-center.rules b/panels/common/gnome-control-center.rules
index 31a052f..5b3da5d 100644
--- a/panels/common/gnome-control-center.rules
+++ b/panels/common/gnome-control-center.rules
@@ -2,7 +2,8 @@ polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.locale1.set-locale" ||
action.id == "org.freedesktop.locale1.set-keyboard" ||
action.id == "org.freedesktop.hostname1.set-static-hostname" ||
- action.id == "org.freedesktop.hostname1.set-hostname") &&
+ action.id == "org.freedesktop.hostname1.set-hostname" ||
+ action.id == "org.gnome.controlcenter.datetime.configure") &&
subject.local &&
subject.active &&
subject.isInGroup ("wheel")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]