policy: Make untrusted authorization also imply trusted

This commit is contained in:
Richard Hughes 2020-09-28 16:23:56 +01:00
parent 33dcfb7219
commit 3754b007d3

View File

@ -33,6 +33,7 @@
<allow_inactive>no</allow_inactive> <allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active> <allow_active>auth_admin_keep</allow_active>
</defaults> </defaults>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.fwupd.update-internal-trusted</annotate>
</action> </action>
<action id="org.freedesktop.fwupd.downgrade-internal"> <action id="org.freedesktop.fwupd.downgrade-internal">
@ -66,6 +67,7 @@
<allow_inactive>no</allow_inactive> <allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active> <allow_active>auth_admin_keep</allow_active>
</defaults> </defaults>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.fwupd.update-hotplug-trusted</annotate>
</action> </action>
<action id="org.freedesktop.fwupd.downgrade-hotplug"> <action id="org.freedesktop.fwupd.downgrade-hotplug">