logind: imply right to reboot when user has right to set reboot-to-firmware flag

Let's reduce the number of actions the user has to acquire.
This commit is contained in:
Lennart Poettering
2018-11-16 15:52:22 +01:00
parent 68d7c268f8
commit c78e6f9e7b
+1
View File
@@ -345,6 +345,7 @@
<allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.reboot</annotate>
</action>
<action id="org.freedesktop.login1.set-wall-message">