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:
Yu Watanabe
2018-05-18 00:02:58 +09:00
parent 51b66c7a8a
commit a8f2b6912e
+1 -1
View File
@@ -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">