openmamba logo
GNU/Linux distribution
general information distribution forum community wiki bugs events
info   software   forum community wiki bugs events
packages plasma-applet-networkmanagement-0.1.git20110216-dbus_allow_sysadmin.patch
      Pages: < 1 >  DOWNLOAD      
diff -Nru networkmanagement.orig//NetworkManager-kde4.conf networkmanagement/NetworkManager-kde4.conf
--- networkmanagement.orig//NetworkManager-kde4.conf	2011-02-16 12:49:08.000000000 +0100
+++ networkmanagement/NetworkManager-kde4.conf	2011-02-16 13:04:36.732870374 +0100
@@ -23,6 +23,19 @@
                 <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
                        send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
         </policy>
+        <policy group="sysadmin">
+                <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+
+                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
+                       send_interface="org.freedesktop.NetworkManagerSettings"/>
+
+                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
+                       send_interface="org.freedesktop.NetworkManagerSettings.Connection"/>
+
+                <!-- sysadmin group can get secrets -->
+                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
+                       send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
+        </policy>
         <policy at_console="true">
                 <allow own="org.freedesktop.NetworkManagerUserSettings"/>