summaryrefslogtreecommitdiff
path: root/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in')
-rw-r--r--plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
new file mode 100644
index 0000000..3fb688e
--- /dev/null
+++ b/plugins/datetime/org.mate.settingsdaemon.datetimemechanism.policy.in
@@ -0,0 +1,38 @@
+<?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 MATE Project</vendor>
+ <vendor_url>http://www.gnome.org/</vendor_url>
+ <icon_name>mate-panel-clock</icon_name>
+
+ <action id="org.mate.settingsdaemon.datetimemechanism.settimezone">
+ <_description>Change system time zone</_description>
+ <_message>Privileges are required to change the system time zone.</_message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_self_keep</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.mate.settingsdaemon.datetimemechanism.settime">
+ <_description>Change system time</_description>
+ <_message>Privileges are required to change the system time.</_message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.mate.settingsdaemon.datetimemechanism.configurehwclock">
+ <_description>Configure hardware clock</_description>
+ <_message>Privileges are required to configure the hardware clock.</_message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ </action>
+
+</policyconfig>