1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00

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-10-22 20:00:31 +02:00
parent 68d7c268f8
commit c78e6f9e7b

View File

@ -345,6 +345,7 @@
<allow_inactive>auth_admin_keep</allow_inactive> <allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>yes</allow_active> <allow_active>yes</allow_active>
</defaults> </defaults>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.reboot</annotate>
</action> </action>
<action id="org.freedesktop.login1.set-wall-message"> <action id="org.freedesktop.login1.set-wall-message">