chiark / gitweb /
fileio: also escape $ and ` when writing out env vars
[elogind.git] / src / timedate / org.freedesktop.timedate1.policy.in
1 <?xml version="1.0" encoding="UTF-8"?> <!--*-nxml-*-->
2 <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
3         "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
4
5 <!--
6   This file is part of systemd.
7
8   systemd is free software; you can redistribute it and/or modify it
9   under the terms of the GNU Lesser General Public License as published by
10   the Free Software Foundation; either version 2.1 of the License, or
11   (at your option) any later version.
12 -->
13
14 <policyconfig>
15
16         <vendor>The systemd Project</vendor>
17         <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url>
18
19         <action id="org.freedesktop.timedate1.set-time">
20                 <_description>Set system time</_description>
21                 <_message>Authentication is required to set the system time.</_message>
22                 <defaults>
23                         <allow_any>auth_admin_keep</allow_any>
24                         <allow_inactive>auth_admin_keep</allow_inactive>
25                         <allow_active>auth_admin_keep</allow_active>
26                 </defaults>
27                 <annotate key="org.freedesktop.policykit.imply">org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-ntp</annotate>
28         </action>
29
30         <action id="org.freedesktop.timedate1.set-timezone">
31                 <_description>Set system timezone</_description>
32                 <_message>Authentication is required to set the system timezone.</_message>
33                 <defaults>
34                         <allow_any>auth_admin_keep</allow_any>
35                         <allow_inactive>auth_admin_keep</allow_inactive>
36                         <allow_active>auth_admin_keep</allow_active>
37                 </defaults>
38         </action>
39
40         <action id="org.freedesktop.timedate1.set-local-rtc">
41                 <_description>Set RTC to local timezone or UTC</_description>
42                 <_message>Authentication is required to control whether
43                 the RTC stores the local or UTC time.</_message>
44                 <defaults>
45                         <allow_any>auth_admin_keep</allow_any>
46                         <allow_inactive>auth_admin_keep</allow_inactive>
47                         <allow_active>auth_admin_keep</allow_active>
48                 </defaults>
49         </action>
50
51         <action id="org.freedesktop.timedate1.set-ntp">
52                 <_description>Turn network time synchronization on or off</_description>
53                 <_message>Authentication is required to control whether
54                 network time synchronization shall be enabled.</_message>
55                 <defaults>
56                         <allow_any>auth_admin_keep</allow_any>
57                         <allow_inactive>auth_admin_keep</allow_inactive>
58                         <allow_active>auth_admin_keep</allow_active>
59                 </defaults>
60         </action>
61
62 </policyconfig>