summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--policy/org.freedesktop.NetworkManager.policy.in.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/policy/org.freedesktop.NetworkManager.policy.in.in b/policy/org.freedesktop.NetworkManager.policy.in.in
index 2de066c1e0..cb229990ca 100644
--- a/policy/org.freedesktop.NetworkManager.policy.in.in
+++ b/policy/org.freedesktop.NetworkManager.policy.in.in
@@ -85,7 +85,9 @@
<_description>Modify personal network connections</_description>
<_message>System policy prevents modification of personal network settings</_message>
<defaults>
- <allow_any>yes</allow_any>
+ <allow_any>auth_self_keep</allow_any>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
</defaults>
</action>
@@ -93,7 +95,9 @@
<_description>Modify network connections for all users</_description>
<_message>System policy prevents modification of network settings for all users</_message>
<defaults>
- <allow_any>@NM_MODIFY_SYSTEM_POLICY@</allow_any>
+ <allow_any>auth_admin_keep</allow_any>
+ <allow_inactive>@NM_MODIFY_SYSTEM_POLICY@</allow_inactive>
+ <allow_active>@NM_MODIFY_SYSTEM_POLICY@</allow_active>
</defaults>
</action>
@@ -102,6 +106,8 @@
<_message>System policy prevents modification of the persistent system hostname</_message>
<defaults>
<allow_any>auth_admin_keep</allow_any>
+ <allow_inactive>auth_admin_keep</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
</defaults>
</action>