chiark / gitweb /
polkit: add "imply" rules to a number of polkit actions
[elogind.git] / src / hostname / org.freedesktop.hostname1.policy.in
index 7d56b22c28ade07f6b22522b764af67e2cac0f01..c32c1d4fda05fc19a6e416a4b7f604aa20a38367 100644 (file)
@@ -6,8 +6,8 @@
   This file is part of systemd.
 
   systemd is free software; you can redistribute it and/or modify it
-  under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
+  under the terms of the GNU Lesser General Public License as published by
+  the Free Software Foundation; either version 2.1 of the License, or
   (at your option) any later version.
 -->
 
@@ -34,6 +34,7 @@
                         <allow_inactive>auth_admin_keep</allow_inactive>
                         <allow_active>auth_admin_keep</allow_active>
                 </defaults>
+                <annotate key="org.freedesktop.policykit.imply">org.freedesktop.hostname1.set-hostname org.freedesktop.hostname1.set-machine-info</annotate>
         </action>
 
         <action id="org.freedesktop.hostname1.set-machine-info">