mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
network: Add policy in polkit DHCP server forcenenew
This commit is contained in:
@@ -139,6 +139,17 @@
|
||||
<annotate key="org.freedesktop.policykit.owner">unix-user:systemd-network</annotate>
|
||||
</action>
|
||||
|
||||
<action id="org.freedesktop.network1.forcerenew">
|
||||
<description gettext-domain="systemd">DHCP server sends force renew message</description>
|
||||
<message gettext-domain="systemd">Authentication is required to send force renew message.</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>
|
||||
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user