packagekit/policy/org.freedesktop.packagekit.policy.in

127 lines
4.9 KiB
Plaintext
Raw Normal View History

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>
<!--
Policy definitions for PackageKit system actions.
Copyright (c) 2007-2008 Richard Hughes <richard@hughsie.com>
-->
2007-08-21 04:54:04 -07: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">
<_description>Install package</_description>
<_message>System policy prevents installing package</_message>
<icon_name>pk-package-add</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-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>
<action id="org.freedesktop.packagekit.localinstall">
<_description>Install local file</_description>
<_message>System policy prevents installing file</_message>
<icon_name>pk-package-add</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-file</vendor_url>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
</action>
<action id="org.freedesktop.packagekit.install-signature">
<_description>Install security signature</_description>
<_message>System policy prevents installing security signature</_message>
<icon_name>pk-package-add</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-signature</vendor_url>
2008-02-18 16:14:01 -08:00
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
</action>
<action id="org.freedesktop.packagekit.accept-eula">
<_description>Accept EULA</_description>
<_message>System policy prevents accepting EULA</_message>
<icon_name>pk-package-add</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-accept-eula</vendor_url>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep_always</allow_active>
</defaults>
</action>
<action id="org.freedesktop.packagekit.update-package">
<_description>Update package</_description>
<_message>System policy prevents updating package</_message>
<icon_name>pk-package-update</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-update</vendor_url>
2007-08-25 09:52:23 -07:00
<defaults>
<allow_inactive>no</allow_inactive>
<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">
<_description>Remove package</_description>
<_message>System policy prevents removing package</_message>
<icon_name>pk-package-delete</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-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>
<action id="org.freedesktop.packagekit.update-system">
<_description>Update all packages on system</_description>
<_message>System policy prevents updating system</_message>
<icon_name>pk-package-update</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-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>
<action id="org.freedesktop.packagekit.rollback">
<_description>Rollback to a previous transaction</_description>
<_message>System policy prevents rollback</_message>
<icon_name>pk-rollback</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-rollback</vendor_url>
<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">
<_description>Change repository parameters</_description>
<_message>System policy prevents changing repository parameters</_message>
<icon_name>pk-package-info</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-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>
<action id="org.freedesktop.packagekit.refresh-cache">
<_description>Refresh package cache</_description>
<_message>System policy prevents refresh package cache</_message>
<icon_name>pk-refresh-cache</icon_name>
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-refresh-cache</vendor_url>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
2007-08-21 04:54:04 -07:00
</policyconfig>