NetworkManager-vpnc/NetworkManager-vpnc-1.2.6-dbus_policy.patch

18 lines
814 B
Diff

--- NetworkManager-vpnc-1.2.6/nm-vpnc-service.conf.orig 2018-06-05 12:32:40.000000000 +0200
+++ NetworkManager-vpnc-1.2.6/nm-vpnc-service.conf 2020-01-10 15:50:36.422000000 +0100
@@ -6,6 +6,14 @@
<allow own_prefix="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_prefix="org.freedesktop.NetworkManager.vpnc"/>
<deny send_destination="org.freedesktop.NetworkManager.vpnc"/>