summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-06-02 02:23:51 -0700
committerDan Williams <dcbw@redhat.com>2010-06-02 02:23:51 -0700
commit299ab139e4058da7f89defc148940e0a67b9a90e (patch)
tree94d06c633b4b43770d4f99ec508094aaed05e47b /policy
parenta08227525c40daf1fd239ab75df4019986a53a86 (diff)
downloadNetworkManager-299ab139e4058da7f89defc148940e0a67b9a90e.tar.gz
core: add policy for overall network control
Allows for locking down connections completely and disallowing certain users from touching networking at all.
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 a912872491..e6540655d4 100644
--- a/policy/org.freedesktop.NetworkManager.policy.in
+++ b/policy/org.freedesktop.NetworkManager.policy.in
@@ -54,5 +54,14 @@
</defaults>
</action>
+ <action id="org.freedesktop.NetworkManager.network-control">
+ <_description>Allow control of network connections</_description>
+ <_message>System policy prevents control of network connections</_message>
+ <defaults>
+ <allow_inactive>yes</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
</policyconfig>