[gnome-panel] [clock] Make default PolicyKit configuration stricter



commit 13f632a1caa198a776442555a3175f696fdb9afa
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Aug 11 20:34:59 2009 +0200

    [clock] Make default PolicyKit configuration stricter
    
    Changing the time or hardware clock now requires admin privileges.
    Changing the timezone cannot harm the machine, so it only requires user
    privileges.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=578385

 .../org.gnome.clockapplet.mechanism.policy.in      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applets/clock/org.gnome.clockapplet.mechanism.policy.in b/applets/clock/org.gnome.clockapplet.mechanism.policy.in
index 4d34e71..018e0b5 100644
--- a/applets/clock/org.gnome.clockapplet.mechanism.policy.in
+++ b/applets/clock/org.gnome.clockapplet.mechanism.policy.in
@@ -22,7 +22,7 @@
     <_message>Privileges are required to change the system time.</_message>
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_self_keep</allow_active>
+      <allow_active>auth_admin_keep</allow_active>
     </defaults>
   </action>
 
@@ -31,7 +31,7 @@
     <_message>Privileges are required to configure the hardware clock.</_message>
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_self_keep</allow_active>
+      <allow_active>auth_admin_keep</allow_active>
     </defaults>
   </action>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]