File: org.freedesktop.realmd.policy.in

package info (click to toggle)
realmd 0.16.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,600 kB
  • sloc: ansic: 16,614; xml: 1,560; sh: 1,317; makefile: 565; python: 395
file content (57 lines) | stat: -rw-r--r-- 2,071 bytes parent folder | download | duplicates (4)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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.0/policyconfig.dtd">
<policyconfig>
	<vendor>realmd</vendor>
	<!--
		<vendor_url>http://example.com/fill-this-in/</vendor_url>
		<icon_name>application-vnd.iccprofile</icon_name>
	-->

	<!-- Any user can discover realms -->
	<action id="org.freedesktop.realmd.discover-realm">
		<_description>Discover realm</_description>
		<_message>Authentication is required to discover a kerberos realm</_message>
		<defaults>
			<allow_any>yes</allow_any>
			<allow_inactive>yes</allow_inactive>
			<allow_active>yes</allow_active>
		</defaults>
	</action>

	<action id="org.freedesktop.realmd.configure-realm">
		<_description>Join machine to realm</_description>
		<_message>Authentication is required to join this machine to a realm or domain</_message>
		<defaults>
			<allow_any>auth_admin</allow_any>
			<allow_inactive>auth_admin</allow_inactive>
			<allow_active>auth_admin_keep</allow_active>
		</defaults>
		<annotate key="org.freedesktop.policykit.imply">
			org.freedesktop.realmd.discover-realm
			org.freedesktop.realmd.deconfigure-realm
		</annotate>
	</action>

	<action id="org.freedesktop.realmd.deconfigure-realm">
		<_description>Remove machine from realm</_description>
		<_message>Authentication is required to remove this computer from a realm or domain.</_message>
		<defaults>
			<allow_any>auth_admin</allow_any>
			<allow_inactive>auth_admin</allow_inactive>
			<allow_active>auth_admin_keep</allow_active>
		</defaults>
	</action>

	<action id="org.freedesktop.realmd.login-policy">
		<_description>Change login policy</_description>
		<_message>Authentication is required to change the policy of who can log in on this computer.</_message>
		<defaults>
			<allow_any>auth_admin</allow_any>
			<allow_inactive>auth_admin</allow_inactive>
			<allow_active>auth_admin_keep</allow_active>
		</defaults>
	</action>

</policyconfig>