2007-08-21 04:54:04 -07:00
|
|
|
<?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>
|
|
|
|
|
2008-02-26 12:02:02 -08:00
|
|
|
<!--
|
|
|
|
Policy definitions for PackageKit system actions.
|
|
|
|
Copyright (c) 2007-2008 Richard Hughes <richard@hughsie.com>
|
|
|
|
-->
|
2007-08-21 04:54:04 -07:00
|
|
|
|
2008-02-26 11:18:03 -08:00
|
|
|
<vendor>The PackageKit Project</vendor>
|
|
|
|
<vendor_url>http://www.packagekit.org/</vendor_url>
|
|
|
|
<icon_name>package-x-generic</icon_name>
|
|
|
|
|
2007-08-21 04:54:04 -07:00
|
|
|
<action id="org.freedesktop.packagekit.install">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Install package</_description>
|
|
|
|
<_message>System policy prevents installing package</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-add</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-install-package</vendor_url>
|
2007-08-21 04:54:04 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
2007-08-21 10:10:54 -07:00
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
2007-08-21 04:54:04 -07:00
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-09-21 08:45:54 -07:00
|
|
|
<action id="org.freedesktop.packagekit.localinstall">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Install local file</_description>
|
|
|
|
<_message>System policy prevents installing file</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-add</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-install-file</vendor_url>
|
2008-02-18 16:14:01 -08:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
2008-03-27 11:46:47 -07:00
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
2007-09-21 08:45:54 -07:00
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-11-10 09:36:23 -08:00
|
|
|
<action id="org.freedesktop.packagekit.update-package">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Update package</_description>
|
|
|
|
<_message>System policy prevents updating package</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-update</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-update</vendor_url>
|
2007-08-25 09:52:23 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
2008-03-13 10:03:26 -07:00
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
2007-08-25 09:52:23 -07:00
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-08-21 04:54:04 -07:00
|
|
|
<action id="org.freedesktop.packagekit.remove">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Remove package</_description>
|
|
|
|
<_message>System policy prevents removing package</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-delete</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-remove</vendor_url>
|
2007-08-21 04:54:04 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
2007-08-21 10:10:54 -07:00
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
2007-08-21 04:54:04 -07:00
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-11-10 09:36:23 -08:00
|
|
|
<action id="org.freedesktop.packagekit.update-system">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Update all packages on system</_description>
|
|
|
|
<_message>System policy prevents updating system</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-update</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-update-system</vendor_url>
|
2007-08-21 04:54:04 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-10-04 11:19:21 -07:00
|
|
|
<action id="org.freedesktop.packagekit.rollback">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Rollback to a previous transaction</_description>
|
|
|
|
<_message>System policy prevents rollback</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-rollback</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-rollback</vendor_url>
|
2007-10-04 11:19:21 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-10-13 16:04:24 -07:00
|
|
|
<action id="org.freedesktop.packagekit.repo-change">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Change repository parameters</_description>
|
|
|
|
<_message>System policy prevents changing repository parameters</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-package-info</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-repo-enable</vendor_url>
|
2007-10-13 16:04:24 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
|
|
|
<allow_active>auth_admin_keep_always</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
|
|
|
|
2007-10-26 06:22:31 -07:00
|
|
|
<action id="org.freedesktop.packagekit.refresh-cache">
|
2008-02-26 15:36:56 -08:00
|
|
|
<_description>Refresh package cache</_description>
|
|
|
|
<_message>System policy prevents refresh package cache</_message>
|
2008-02-26 12:02:02 -08:00
|
|
|
<icon_name>pk-refresh-cache</icon_name>
|
|
|
|
<vendor_url>http://www.packagekit.org/pk-reference.html#api-refresh-cache</vendor_url>
|
2007-10-26 06:22:31 -07:00
|
|
|
<defaults>
|
|
|
|
<allow_inactive>no</allow_inactive>
|
|
|
|
<allow_active>yes</allow_active>
|
|
|
|
</defaults>
|
|
|
|
</action>
|
2007-08-21 04:54:04 -07:00
|
|
|
</policyconfig>
|
2008-02-26 12:02:02 -08:00
|
|
|
|