Deny permission to use d-bus name wireguard per default

pull/1/head
Max Moser 2018-02-12 18:49:55 +01:00
parent e5b87cbc8c
commit 654ddec142
1 changed files with 2 additions and 3 deletions

View File

@ -10,10 +10,9 @@
<allow own_prefix="org.freedesktop.NetworkManager.wireguard"/> <allow own_prefix="org.freedesktop.NetworkManager.wireguard"/>
<allow send_destination="org.freedesktop.NetworkManager.wireguard"/> <allow send_destination="org.freedesktop.NetworkManager.wireguard"/>
</policy> </policy>
<!-- TODO deny per default -->
<policy context="default"> <policy context="default">
<allow own_prefix="org.freedesktop.NetworkManager.wireguard"/> <deny own_prefix="org.freedesktop.NetworkManager.wireguard"/>
<allow send_destination="org.freedesktop.NetworkManager.wireguard"/> <deny send_destination="org.freedesktop.NetworkManager.wireguard"/>
</policy> </policy>
</busconfig> </busconfig>