change polkit action names to match systemd's exactly
[systembsd.git] / conf / polkit-policy / org.freedesktop.timedate1.policy
CommitLineData
89048d5b 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN" "http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
3
4<policyconfig>
5 <vendor>OpenBSD</vendor>
6 <vendor_url>https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systemd-utl.git</vendor_url> <!-- TODO change or redirect this URL when we rebase -->
7
5fd84921 8 <action id="org.freedesktop.timedate1.set-time">
89048d5b 9 <description>Set system time.</description>
10 <message>Setting the system time requires authentication.</message>
11 <defaults>
12 <allow_any>auth_admin_keep</allow_any>
13 <allow_inactive>auth_admin_keep</allow_inactive>
14 <allow_active>auth_admin_keep</allow_active>
15 </defaults>
16 </action>
17
5fd84921 18 <action id="org.freedesktop.timedate1.set-timezone">
89048d5b 19 <description>Set local timezone.</description>
20 <message>Setting the timezone requires authentication.</message>
21 <defaults>
22 <allow_any>auth_admin_keep</allow_any>
23 <allow_inactive>auth_admin_keep</allow_inactive>
24 <allow_active>auth_admin_keep</allow_active>
25 </defaults>
26 </action>
27
5fd84921 28 <action id="org.freedesktop.timedate1.set-local-rtc">
89048d5b 29 <description>Switch RTC between UTC and local time.</description>
30 <message>Switching to the system's real time clock source requires authentication.</message>
31 <defaults>
32 <allow_any>auth_admin_keep</allow_any>
33 <allow_inactive>auth_admin_keep</allow_inactive>
34 <allow_active>auth_admin_keep</allow_active>
35 </defaults>
36 </action>
37
5fd84921 38 <action id="org.freedesktop.timedate1.set-ntp">
89048d5b 39 <description>Toggle clock synchronization through NTP.</description>
40 <message>Toggling NTP requires authentication.</message>
41 <defaults>
42 <allow_any>auth_admin_keep</allow_any>
43 <allow_inactive>auth_admin_keep</allow_inactive>
44 <allow_active>auth_admin_keep</allow_active>
45 </defaults>
46 </action>
47</policyconfig>