NetworkManager-pptp/NetworkManager-pptp-0.8.2-dbus_policy.patch

25 lines
1.2 KiB
Diff
Raw Normal View History

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