summaryrefslogtreecommitdiffstats
path: root/panels/datetime/org.gnome.controlcenter.datetime.policy.in
diff options
context:
space:
mode:
Diffstat (limited to 'panels/datetime/org.gnome.controlcenter.datetime.policy.in')
-rw-r--r--panels/datetime/org.gnome.controlcenter.datetime.policy.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/panels/datetime/org.gnome.controlcenter.datetime.policy.in b/panels/datetime/org.gnome.controlcenter.datetime.policy.in
new file mode 100644
index 0000000..f9c115f
--- /dev/null
+++ b/panels/datetime/org.gnome.controlcenter.datetime.policy.in
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<policyconfig>
+ <vendor>The GNOME Project</vendor>
+ <vendor_url>http://www.gnome.org/</vendor_url>
+
+ <action id="org.gnome.controlcenter.datetime.configure">
+ <description>Change system time and date settings</description>
+ <message>To change time or date settings, you need to authenticate.</message>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.imply">org.freedesktop.timedate1.set-time org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-local-rtc org.freedesktop.timedate1.set-ntp</annotate>
+ </action>
+
+</policyconfig>