]>
Commit | Line | Data |
---|---|---|
f401e48c LP |
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 | <!-- | |
d9215cd8 ZJS |
6 | SPDX-License-Identifier: LGPL-2.1+ |
7 | ||
f401e48c LP |
8 | This file is part of systemd. |
9 | ||
10 | systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
11 | under the terms of the GNU Lesser General Public License as published by |
12 | the Free Software Foundation; either version 2.1 of the License, or | |
f401e48c LP |
13 | (at your option) any later version. |
14 | --> | |
15 | ||
16 | <policyconfig> | |
17 | ||
18 | <vendor>The systemd Project</vendor> | |
19 | <vendor_url>http://www.freedesktop.org/wiki/Software/systemd</vendor_url> | |
20 | ||
21 | <action id="org.freedesktop.timedate1.set-time"> | |
264d8dcc GH |
22 | <description gettext-domain="systemd">Set system time</description> |
23 | <message gettext-domain="systemd">Authentication is required to set the system time.</message> | |
f401e48c LP |
24 | <defaults> |
25 | <allow_any>auth_admin_keep</allow_any> | |
26 | <allow_inactive>auth_admin_keep</allow_inactive> | |
27 | <allow_active>auth_admin_keep</allow_active> | |
28 | </defaults> | |
39600155 | 29 | <annotate key="org.freedesktop.policykit.imply">org.freedesktop.timedate1.set-timezone org.freedesktop.timedate1.set-ntp</annotate> |
f401e48c LP |
30 | </action> |
31 | ||
32 | <action id="org.freedesktop.timedate1.set-timezone"> | |
264d8dcc GH |
33 | <description gettext-domain="systemd">Set system timezone</description> |
34 | <message gettext-domain="systemd">Authentication is required to set the system timezone.</message> | |
f401e48c LP |
35 | <defaults> |
36 | <allow_any>auth_admin_keep</allow_any> | |
37 | <allow_inactive>auth_admin_keep</allow_inactive> | |
38 | <allow_active>auth_admin_keep</allow_active> | |
39 | </defaults> | |
40 | </action> | |
41 | ||
42 | <action id="org.freedesktop.timedate1.set-local-rtc"> | |
264d8dcc | 43 | <description gettext-domain="systemd">Set RTC to local timezone or UTC</description> |
e610ac3d | 44 | <message gettext-domain="systemd">Authentication is required to control whether the RTC stores the local or UTC time.</message> |
f401e48c LP |
45 | <defaults> |
46 | <allow_any>auth_admin_keep</allow_any> | |
47 | <allow_inactive>auth_admin_keep</allow_inactive> | |
48 | <allow_active>auth_admin_keep</allow_active> | |
49 | </defaults> | |
50 | </action> | |
51 | ||
c5f0532f | 52 | <action id="org.freedesktop.timedate1.set-ntp"> |
264d8dcc | 53 | <description gettext-domain="systemd">Turn network time synchronization on or off</description> |
e610ac3d | 54 | <message gettext-domain="systemd">Authentication is required to control whether network time synchronization shall be enabled.</message> |
c5f0532f LP |
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 | ||
f401e48c | 62 | </policyconfig> |