-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.deepin.controlcenter.addomain.policy
56 lines (55 loc) · 2.24 KB
/
com.deepin.controlcenter.addomain.policy
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
<?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>Deepin</vendor>
<action id="com.deepin.controlcenter.addomain.domainjoin-cli">
<icon_name>dde</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<message>AD domain settings</message>
<message xml:lang="zh_CN">AD域设置</message>
<annotate key="org.freedesktop.policykit.exec.path">/opt/pbis/bin/domainjoin-cli</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="com.deepin.controlcenter.addomain.service">
<icon_name>dde</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<message>AD domain settings</message>
<message xml:lang="zh_CN">AD域设置</message>
<annotate key="org.freedesktop.policykit.exec.path">/bin/systemctl</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="com.deepin.controlcenter.addomain.config">
<icon_name>dde</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<message>AD domain settings</message>
<message xml:lang="zh_CN">AD域设置</message>
<annotate key="org.freedesktop.policykit.exec.path">/opt/pbis/bin/config</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="com.deepin.controlcenter.addomain.cp">
<icon_name>dde</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<message>AD domain settings</message>
<message xml:lang="zh_CN">复制AD域配置文件</message>
<annotate key="org.freedesktop.policykit.exec.path">cp</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>