diff options
Diffstat (limited to 'data/org.freedesktop.timedate1.policy')
| -rw-r--r-- | data/org.freedesktop.timedate1.policy | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/data/org.freedesktop.timedate1.policy b/data/org.freedesktop.timedate1.policy new file mode 100644 index 0000000..a3b1dc5 --- /dev/null +++ b/data/org.freedesktop.timedate1.policy @@ -0,0 +1,41 @@ +<?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/policyconfig.dtd"> +<policyconfig> + <vendor>slack-timedate</vendor> + + <action id="org.freedesktop.timedate1.set-time"> + <message>Changes the system clock</message> + <defaults> + <allow_any>auth_admin_keep</allow_any> + <allow_inactive>auth_admin_keep</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.timedate1.set-timezone"> + <message>Sets the system timezone</message> + <defaults> + <allow_any>auth_admin_keep</allow_any> + <allow_inactive>auth_admin_keep</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.timedate1.set-local-rtc"> + <message>Controls whether the RTC is in local time or UTC</message> + <defaults> + <allow_any>auth_admin_keep</allow_any> + <allow_inactive>auth_admin_keep</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> + + <action id="org.freedesktop.timedate1.set-ntp"> + <message>Controls whether the system clock is synchronized with the network</message> + <defaults> + <allow_any>auth_admin_keep</allow_any> + <allow_inactive>auth_admin_keep</allow_inactive> + <allow_active>auth_admin_keep</allow_active> + </defaults> + </action> +</policyconfig> |
