core: systemd1.manage-unit-files policy implies systemd1.manage-units
This makes e.g. `systemctl enable --now` ask password only once. Follow-up for b07abe63d3abf03df559f7cb2c9863943df22274.
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin_keep</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon</annotate>
|
||||
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.systemd1.reload-daemon org.freedesktop.systemd1.manage-units</annotate>
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.systemd1.set-environment">
|
||||
|
||||
Reference in New Issue
Block a user