NetworkManager-vpnc/NetworkManager-vpnc-0.8.2-dbus_policy.patch

19 lines
911 B
Diff
Raw Normal View History

diff -Nru NetworkManager-vpnc-0.8.2.orig//nm-vpnc-service.conf NetworkManager-vpnc-0.8.2/nm-vpnc-service.conf
--- NetworkManager-vpnc-0.8.2.orig//nm-vpnc-service.conf 2010-04-06 08:34:46.000000000 +0200
+++ NetworkManager-vpnc-0.8.2/nm-vpnc-service.conf 2011-06-17 14:34:37.018948643 +0200
@@ -6,6 +6,14 @@
<allow own="org.freedesktop.NetworkManager.vpnc"/>
<allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
</policy>
+ <policy group="sysadmin">
+ <allow own="org.freedesktop.NetworkManager.vpnc"/>
+ <allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
+ </policy>
+ <policy at_console="true">
+ <allow own="org.freedesktop.NetworkManager.vpnc"/>
+ <allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
+ </policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager.vpnc"/>
<deny send_destination="org.freedesktop.NetworkManager.vpnc"/>