summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-02-11 11:27:08 -0600
committerDan Williams <dcbw@redhat.com>2011-02-11 11:31:14 -0600
commitba8f56283613f64ae893398bc21e12cc1be2d13d (patch)
tree109a797c99aa593dd4fb1feb02e5db99190e5170 /policy
parentf2c317e3d2ba3acbe73bf060d767115b2421db69 (diff)
downloadNetworkManager-ba8f56283613f64ae893398bc21e12cc1be2d13d.tar.gz
policy: add a "modify own" permission for single-user-visible connections
This policy will allow users to modify their personal connections (ie maybe VPN connections, etc) distinctly from system-wide connections that affect more than just their user. It makes sense to be more lenient when making changes to settings that don't affect other users.
Diffstat (limited to 'policy')
-rw-r--r--policy/org.freedesktop.NetworkManager.policy.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/policy/org.freedesktop.NetworkManager.policy.in b/policy/org.freedesktop.NetworkManager.policy.in
index 7cc72c2ce4..00740bf51a 100644
--- a/policy/org.freedesktop.NetworkManager.policy.in
+++ b/policy/org.freedesktop.NetworkManager.policy.in
@@ -81,6 +81,15 @@
</defaults>
</action>
+ <action id="org.freedesktop.NetworkManager.settings.modify.own">
+ <_description>Modify personal network connections</_description>
+ <_message>System policy prevents modification of personal network settings</_message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
<action id="org.freedesktop.NetworkManager.settings.modify.system">
<_description>Modify network connections for all users</_description>
<_message>System policy prevents modification of network settings for all users</_message>