summaryrefslogtreecommitdiff
path: root/org.freedesktop.timedate1.policy
blob: a3b1dc5e6ffbc230661260061838df952cefcc33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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>