diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-04-07 12:36:03 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-04-07 12:36:03 +0200 |
| commit | 457e48a4cffa15ef1505abcba49f1a280ca35c62 (patch) | |
| tree | 76d6bf63ac17b25db448e692f9764a9ebc6286c9 /org.freedesktop.timedate1.policy | |
| parent | 887b5aabbb8bfb96a04cf4334a25a94a201b235d (diff) | |
| download | slack-timedate-457e48a4cffa15ef1505abcba49f1a280ca35c62.tar.gz | |
Add policy configuration
Diffstat (limited to 'org.freedesktop.timedate1.policy')
| -rw-r--r-- | org.freedesktop.timedate1.policy | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/org.freedesktop.timedate1.policy b/org.freedesktop.timedate1.policy new file mode 100644 index 0000000..a3b1dc5 --- /dev/null +++ b/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> |
