| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE policyconfig PUBLIC |
| 3 |
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" |
| 4 |
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> |
| 5 |
<policyconfig> |
| 6 |
<vendor>LinuxDeepin</vendor> |
| 7 |
<vendor_url>https://www.deepin.com/</vendor_url> |
| 8 |
<action id="com.deepin.pkexec.logViewerAuth"> |
| 9 |
<description>authentication</description> |
| 10 |
<description xml:lang="zh_CN">认证</description> |
| 11 |
<message>Authentication is required to view the log</message> |
| 12 |
<message xml:lang="zh_CN">访问日志需要认证</message> |
| 13 |
<icon_name></icon_name> |
| 14 |
<defaults> |
| 15 |
<allow_any>no</allow_any> |
| 16 |
<allow_inactive>no</allow_inactive> |
| 17 |
<allow_active>auth_admin_keep</allow_active> |
| 18 |
</defaults> |
| 19 |
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/logViewerAuth</annotate> |
| 20 |
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> |
| 21 |
</action> |
| 22 |
|
| 23 |
<action id="com.deepin.pkexec.logViewerAuth.self"> |
| 24 |
<description>authentication</description> |
| 25 |
<message>Authentication is required to view the log</message> |
| 26 |
<icon_name /> |
| 27 |
<defaults> |
| 28 |
<allow_any>no</allow_any> |
| 29 |
<allow_inactive>no</allow_inactive> |
| 30 |
<allow_active>auth_self_keep</allow_active> |
| 31 |
</defaults> |
| 32 |
<description xml:lang="zh_CN">认证</description> |
| 33 |
<message xml:lang="zh_CN">访问日志需要认证</message> |
| 34 |
</action> |
| 35 |
|
| 36 |
<action id="com.deepin.pkexec.logViewerAuth.exportLogs"> |
| 37 |
<description>authentication</description> |
| 38 |
<description xml:lang="zh_CN">认证</description> |
| 39 |
<message>Authentication is required to export logs</message> |
| 40 |
<message xml:lang="zh_CN">访问日志需要认证</message> |
| 41 |
<icon_name /> |
| 42 |
<defaults> |
| 43 |
<allow_any>no</allow_any> |
| 44 |
<allow_inactive>no</allow_inactive> |
| 45 |
<allow_active>auth_admin_keep</allow_active> |
| 46 |
</defaults> |
| 47 |
</action> |
| 48 |
|
| 49 |
<action id="com.deepin.pkexec.logViewerAuth.exportLogsSelf"> |
| 50 |
<description>authentication</description> |
| 51 |
<description xml:lang="zh_CN">认证</description> |
| 52 |
<message>Authentication is required to export logs</message> |
| 53 |
<message xml:lang="zh_CN">访问日志需要认证</message> |
| 54 |
<icon_name /> |
| 55 |
<defaults> |
| 56 |
<allow_any>no</allow_any> |
| 57 |
<allow_inactive>no</allow_inactive> |
| 58 |
<allow_active>auth_self</allow_active> |
| 59 |
</defaults> |
| 60 |
|
| 61 |
</action> |
| 62 |
</policyconfig> |