network-manager-applet/network-manager-applet-0.8.2-dbus-policy-sysadmin.patch

24 lines
1.3 KiB
Diff
Raw Normal View History

diff -Nru network-manager-applet-0.8.2.orig//nm-applet-dbus-126.conf network-manager-applet-0.8.2/nm-applet-dbus-126.conf
--- network-manager-applet-0.8.2.orig//nm-applet-dbus-126.conf 2010-04-06 08:35:03.000000000 +0200
+++ network-manager-applet-0.8.2/nm-applet-dbus-126.conf 2011-01-30 15:15:31.488035082 +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"/>