summaryrefslogtreecommitdiffstats
path: root/src/network/org.freedesktop.network1.policy
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-04 09:54:48 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-09-21 13:27:36 +0200
commitae65d7dbe3fec6f6c0d10915f415675df5ed1967 (patch)
treee6a193c8b43f81346ff94a116ddd40af67b29d06 /src/network/org.freedesktop.network1.policy
parentdhcp: introduce sd_dhcp_client_send_renew() (diff)
downloadsystemd-ae65d7dbe3fec6f6c0d10915f415675df5ed1967.tar.xz
systemd-ae65d7dbe3fec6f6c0d10915f415675df5ed1967.zip
network: introduce new bus method Renew() and RenewLink()
Diffstat (limited to 'src/network/org.freedesktop.network1.policy')
-rw-r--r--src/network/org.freedesktop.network1.policy11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/network/org.freedesktop.network1.policy b/src/network/org.freedesktop.network1.policy
index 07091bffe5..a9debdb736 100644
--- a/src/network/org.freedesktop.network1.policy
+++ b/src/network/org.freedesktop.network1.policy
@@ -139,4 +139,15 @@
<annotate key="org.freedesktop.policykit.owner">unix-user:systemd-network</annotate>
</action>
+ <action id="org.freedesktop.network1.renew">
+ <description gettext-domain="systemd">Renew dynamic addresses</description>
+ <message gettext-domain="systemd">Authentication is required to renew dynamic addresses.</message>
+ <defaults>
+ <allow_any>auth_admin</allow_any>
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.owner">unix-user:systemd-network</annotate>
+ </action>
+
</policyconfig>