summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-12-25 11:36:37 +0100
committerLennart Poettering <lennart@poettering.net>2012-12-31 21:24:26 +0100
commit3960015566b506b234596a4f726cb47fb9a0da51 (patch)
treeff4dd7dbb70fdd5b17a408ac5435b85e50fe2955 /src/hostname
parent94f5bbc626f2a4102debd9b17c964170a887cb49 (diff)
polkit: add "imply" rules to a number of polkit actions
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/org.freedesktop.hostname1.policy.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hostname/org.freedesktop.hostname1.policy.in b/src/hostname/org.freedesktop.hostname1.policy.in
index df082d8e6f..c32c1d4fda 100644
--- a/src/hostname/org.freedesktop.hostname1.policy.in
+++ b/src/hostname/org.freedesktop.hostname1.policy.in
@@ -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">