| 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.bootmaker.create"> |
| 9 |
<message>To create a bootable USB drive you need to authenticate.</message> |
| 10 |
<message xml:lang="zh_CN">创建启动盘需要您进行认证。</message> |
| 11 |
<message xml:lang="zh_HK">創建啓動盤需要您進行認證。</message> |
| 12 |
<message xml:lang="zh_TW">創建啟動盤需要您進行認證。</message> |
| 13 |
<defaults> |
| 14 |
<allow_any>no</allow_any> |
| 15 |
<allow_inactive>no</allow_inactive> |
| 16 |
<allow_active>auth_admin_keep</allow_active> |
| 17 |
</defaults> |
| 18 |
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/deepin-daemon/deepin-boot-maker-service</annotate> |
| 19 |
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> |
| 20 |
</action> |
| 21 |
<action id="com.deepin.bootmaker.reboot"> |
| 22 |
<message>Authentication is required to reboot the operating system.</message> |
| 23 |
<message xml:lang="zh_CN">重启操作系统需要认证。</message> |
| 24 |
<message xml:lang="zh_HK">重啓作業系統需要認證。</message> |
| 25 |
<message xml:lang="zh_TW">重啟作業系統需要認證。</message> |
| 26 |
<defaults> |
| 27 |
<allow_any>no</allow_any> |
| 28 |
<allow_inactive>no</allow_inactive> |
| 29 |
<allow_active>auth_admin_keep</allow_active> |
| 30 |
</defaults> |
| 31 |
<annotate key="org.freedesktop.policykit.exec.path">/usr/lib/deepin-daemon/deepin-boot-maker-service</annotate> |
| 32 |
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> |
| 33 |
</action> |
| 34 |
</policyconfig> |