|
2 | 2 | <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" |
3 | 3 | "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> |
4 | 4 | <policyconfig> |
5 | | - <vendor>UnionTech</vendor> |
6 | | - <vendor_url>https://www.uniontech.com</vendor_url> |
7 | | - |
8 | | - <action id="org.deepin.linglong.PackageManager1.install"> |
9 | | - <description>Install packages</description> |
10 | | - <message>Authentication is required to install packages</message> |
11 | | - <defaults> |
12 | | - <allow_any>auth_admin</allow_any> |
13 | | - <allow_inactive>auth_admin</allow_inactive> |
14 | | - <allow_active>auth_admin_keep</allow_active> |
15 | | - </defaults> |
16 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
17 | | - </action> |
18 | | - |
19 | | - <action id="org.deepin.linglong.PackageManager1.update"> |
20 | | - <description>Update packages</description> |
21 | | - <message>Authentication is required to update packages</message> |
22 | | - <defaults> |
23 | | - <allow_any>auth_admin</allow_any> |
24 | | - <allow_inactive>auth_admin</allow_inactive> |
25 | | - <allow_active>auth_admin_keep</allow_active> |
26 | | - </defaults> |
27 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
28 | | - </action> |
29 | | - |
30 | | - <action id="org.deepin.linglong.PackageManager1.uninstall"> |
31 | | - <description>Uninstall packages</description> |
32 | | - <message>Authentication is required to uninstall packages</message> |
33 | | - <defaults> |
34 | | - <allow_any>auth_admin</allow_any> |
35 | | - <allow_inactive>auth_admin</allow_inactive> |
36 | | - <allow_active>auth_admin_keep</allow_active> |
37 | | - </defaults> |
38 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
39 | | - </action> |
40 | | - |
41 | | - <action id="org.deepin.linglong.PackageManager1.install-from-file"> |
42 | | - <description>Install packages from local files</description> |
43 | | - <message>Authentication is required to install packages from local files</message> |
44 | | - <defaults> |
45 | | - <allow_any>auth_admin</allow_any> |
46 | | - <allow_inactive>auth_admin</allow_inactive> |
47 | | - <allow_active>auth_admin_keep</allow_active> |
48 | | - </defaults> |
49 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
50 | | - </action> |
51 | | - |
52 | | - <action id="org.deepin.linglong.PackageManager1.prune"> |
53 | | - <description>Prune package cache</description> |
54 | | - <message>Authentication is required to prune package cache</message> |
55 | | - <defaults> |
56 | | - <allow_any>auth_admin</allow_any> |
57 | | - <allow_inactive>auth_admin</allow_inactive> |
58 | | - <allow_active>auth_admin</allow_active> |
59 | | - </defaults> |
60 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
61 | | - </action> |
62 | | - |
63 | | - <action id="org.deepin.linglong.PackageManager1.set-configuration"> |
64 | | - <description>Modify package manager configuration</description> |
65 | | - <message>Authentication is required to modify package manager configuration</message> |
66 | | - <defaults> |
67 | | - <allow_any>auth_admin</allow_any> |
68 | | - <allow_inactive>auth_admin</allow_inactive> |
69 | | - <allow_active>auth_admin</allow_active> |
70 | | - </defaults> |
71 | | - <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
72 | | - </action> |
| 5 | + <vendor>UnionTech</vendor> |
| 6 | + <vendor_url>https://www.uniontech.com</vendor_url> |
| 7 | + <action id="org.deepin.linglong.PackageManager1.install"> |
| 8 | + <description>Install packages</description> |
| 9 | + <message>Authentication is required to install packages</message> |
| 10 | + <defaults> |
| 11 | + <allow_any>auth_admin</allow_any> |
| 12 | + <allow_inactive>auth_admin</allow_inactive> |
| 13 | + <allow_active>auth_admin_keep</allow_active> |
| 14 | + </defaults> |
| 15 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 16 | + <description xml:lang="en_US">Install packages</description> |
| 17 | + <message xml:lang="en_US">Authentication is required to install packages</message> |
| 18 | + <description xml:lang="pt_BR">Instalar pacotes</description> |
| 19 | + <message xml:lang="pt_BR">É necessário autenticar-se para instalar pacotes</message> |
| 20 | + <description xml:lang="zh_CN">安装软件包</description> |
| 21 | + <message xml:lang="zh_CN">安装软件包需要认证</message> |
| 22 | + <description xml:lang="zh_HK">安裝套件</description> |
| 23 | + <message xml:lang="zh_HK">安裝套件需要進行身份驗證</message> |
| 24 | + <description xml:lang="zh_TW">安裝套件</description> |
| 25 | + <message xml:lang="zh_TW">安裝套件需要進行身分驗證</message> |
| 26 | + </action> |
| 27 | + <action id="org.deepin.linglong.PackageManager1.update"> |
| 28 | + <description>Update packages</description> |
| 29 | + <message>Authentication is required to update packages</message> |
| 30 | + <defaults> |
| 31 | + <allow_any>auth_admin</allow_any> |
| 32 | + <allow_inactive>auth_admin</allow_inactive> |
| 33 | + <allow_active>auth_admin_keep</allow_active> |
| 34 | + </defaults> |
| 35 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 36 | + <description xml:lang="en_US">Update packages</description> |
| 37 | + <message xml:lang="en_US">Authentication is required to update packages</message> |
| 38 | + <description xml:lang="pt_BR">Atualizar pacotes</description> |
| 39 | + <message xml:lang="pt_BR">É necessário autenticar-se para atualizar pacotes</message> |
| 40 | + <description xml:lang="zh_CN">更新软件包</description> |
| 41 | + <message xml:lang="zh_CN">更新软件包需要认证</message> |
| 42 | + <description xml:lang="zh_HK">更新套件</description> |
| 43 | + <message xml:lang="zh_HK">更新套件需要進行身份驗證</message> |
| 44 | + <description xml:lang="zh_TW">更新套件</description> |
| 45 | + <message xml:lang="zh_TW">更新套件需要進行身分驗證</message> |
| 46 | + </action> |
| 47 | + <action id="org.deepin.linglong.PackageManager1.uninstall"> |
| 48 | + <description>Uninstall packages</description> |
| 49 | + <message>Authentication is required to uninstall packages</message> |
| 50 | + <defaults> |
| 51 | + <allow_any>auth_admin</allow_any> |
| 52 | + <allow_inactive>auth_admin</allow_inactive> |
| 53 | + <allow_active>auth_admin_keep</allow_active> |
| 54 | + </defaults> |
| 55 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 56 | + <description xml:lang="en_US">Uninstall packages</description> |
| 57 | + <message xml:lang="en_US">Authentication is required to uninstall packages</message> |
| 58 | + <description xml:lang="pt_BR">Desinstalar pacotes</description> |
| 59 | + <message xml:lang="pt_BR">É necessário autenticar-se para desinstalar pacotes</message> |
| 60 | + <description xml:lang="zh_CN">卸载软件包</description> |
| 61 | + <message xml:lang="zh_CN">卸载软件包需要认证</message> |
| 62 | + <description xml:lang="zh_HK">解除安裝套件</description> |
| 63 | + <message xml:lang="zh_HK">解除安裝套件需要進行身份驗證</message> |
| 64 | + <description xml:lang="zh_TW">解除安裝套件</description> |
| 65 | + <message xml:lang="zh_TW">解除安裝套件需要進行身分驗證</message> |
| 66 | + </action> |
| 67 | + <action id="org.deepin.linglong.PackageManager1.install-from-file"> |
| 68 | + <description>Install packages from local files</description> |
| 69 | + <message>Authentication is required to install packages from local files</message> |
| 70 | + <defaults> |
| 71 | + <allow_any>auth_admin</allow_any> |
| 72 | + <allow_inactive>auth_admin</allow_inactive> |
| 73 | + <allow_active>auth_admin_keep</allow_active> |
| 74 | + </defaults> |
| 75 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 76 | + <description xml:lang="en_US">Install packages from local files</description> |
| 77 | + <message xml:lang="en_US">Authentication is required to install packages from local files</message> |
| 78 | + <description xml:lang="pt_BR">Instalar pacotes a partir de arquivos locais</description> |
| 79 | + <message xml:lang="pt_BR">É necessário autenticar-se para instalar pacotes a partir de arquivos locais</message> |
| 80 | + <description xml:lang="zh_CN">从本地文件安装软件包</description> |
| 81 | + <message xml:lang="zh_CN">从本地文件安装软件包需要进行身份验证</message> |
| 82 | + <description xml:lang="zh_HK">從本機檔案安裝套件</description> |
| 83 | + <message xml:lang="zh_HK">從本機檔案安裝套件需要進行身份驗證</message> |
| 84 | + <description xml:lang="zh_TW">從本機檔案安裝套件</description> |
| 85 | + <message xml:lang="zh_TW">從本機檔案安裝套件需要進行身分驗證</message> |
| 86 | + </action> |
| 87 | + <action id="org.deepin.linglong.PackageManager1.prune"> |
| 88 | + <description>Prune package cache</description> |
| 89 | + <message>Authentication is required to prune package cache</message> |
| 90 | + <defaults> |
| 91 | + <allow_any>auth_admin</allow_any> |
| 92 | + <allow_inactive>auth_admin</allow_inactive> |
| 93 | + <allow_active>auth_admin</allow_active> |
| 94 | + </defaults> |
| 95 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 96 | + <description xml:lang="en_US">Prune package cache</description> |
| 97 | + <message xml:lang="en_US">Authentication is required to prune package cache</message> |
| 98 | + <description xml:lang="pt_BR">Limpar cache de pacotes</description> |
| 99 | + <message xml:lang="pt_BR">É necessário autenticar-se para limpar o cache de pacotes</message> |
| 100 | + <description xml:lang="zh_CN">清理软件包缓存</description> |
| 101 | + <message xml:lang="zh_CN">清理软件包缓存需要认证</message> |
| 102 | + <description xml:lang="zh_HK">清理套件快取</description> |
| 103 | + <message xml:lang="zh_HK">清理套件快取需要進行身份驗證</message> |
| 104 | + <description xml:lang="zh_TW">清理套件快取</description> |
| 105 | + <message xml:lang="zh_TW">清理套件快取需要進行身分驗證</message> |
| 106 | + </action> |
| 107 | + <action id="org.deepin.linglong.PackageManager1.set-configuration"> |
| 108 | + <description>Modify package manager configuration</description> |
| 109 | + <message>Authentication is required to modify package manager configuration</message> |
| 110 | + <defaults> |
| 111 | + <allow_any>auth_admin</allow_any> |
| 112 | + <allow_inactive>auth_admin</allow_inactive> |
| 113 | + <allow_active>auth_admin</allow_active> |
| 114 | + </defaults> |
| 115 | + <annotate key="org.freedesktop.policykit.owner">unix-user:@LINGLONG_USERNAME@</annotate> |
| 116 | + <description xml:lang="en_US">Modify package manager configuration</description> |
| 117 | + <message xml:lang="en_US">Authentication is required to modify package manager configuration</message> |
| 118 | + <description xml:lang="pt_BR">Alterar configuração do gerenciador de pacotes</description> |
| 119 | + <message xml:lang="pt_BR">É necessário autenticar-se para modificar a configuração do gerenciador de pacotes</message> |
| 120 | + <description xml:lang="zh_CN">修改软件包管理器配置</description> |
| 121 | + <message xml:lang="zh_CN">修改软件包管理器配置需要认证</message> |
| 122 | + <description xml:lang="zh_HK">修改套件管理員設定</description> |
| 123 | + <message xml:lang="zh_HK">修改套件管理員設定需要進行身份驗證</message> |
| 124 | + <description xml:lang="zh_TW">修改套件管理員設定</description> |
| 125 | + <message xml:lang="zh_TW">修改套件管理員設定需要進行身分驗證</message> |
| 126 | + </action> |
73 | 127 | </policyconfig> |
0 commit comments