Deny permission to use d-bus name wireguard per default

master
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 send_destination="org.freedesktop.NetworkManager.wireguard"/>
</policy>
<!-- TODO deny per default -->
<policy context="default">
<allow own_prefix="org.freedesktop.NetworkManager.wireguard"/>
<allow send_destination="org.freedesktop.NetworkManager.wireguard"/>
<deny own_prefix="org.freedesktop.NetworkManager.wireguard"/>
<deny send_destination="org.freedesktop.NetworkManager.wireguard"/>
</policy>
</busconfig>