feature: add a PolicyKit rule so other users can cancel tasks from other users
This commit is contained in:
parent
9eeda48cc8
commit
5a81daaa00
@ -13,8 +13,19 @@
|
||||
<vendor_url>http://www.packagekit.org/</vendor_url>
|
||||
<icon_name>package-x-generic</icon_name>
|
||||
|
||||
<action id="org.freedesktop.packagekit.cancel-foreign">
|
||||
<_description>Cancel foreign task</_description>
|
||||
<_message>Authentication is required to cancel a task that was not started by yourself</_message>
|
||||
<icon_name>pk-package-delete</icon_name>
|
||||
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-cancel</vendor_url>
|
||||
<defaults>
|
||||
<allow_inactive>no</allow_inactive>
|
||||
<allow_active>auth_admin_keep_always</allow_active>
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.packagekit.package-install">
|
||||
<_description>Install local file</_description>
|
||||
<_description>Install signed package</_description>
|
||||
<_message>Authentication is required to install a signed package</_message>
|
||||
<icon_name>pk-package-add</icon_name>
|
||||
<vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-package</vendor_url>
|
||||
@ -35,7 +46,6 @@
|
||||
</defaults>
|
||||
</action>
|
||||
|
||||
|
||||
<action id="org.freedesktop.packagekit.system-trust-signing-key">
|
||||
<_description>Trust a key used for signing packages</_description>
|
||||
<_message>Authentication is required to consider a key used for signing packages as trusted</_message>
|
||||
|
Loading…
Reference in New Issue
Block a user