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:
parent
68d7c268f8
commit
c78e6f9e7b
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user