dbus: Fix policy entries and add access for group wheel

This commit is contained in:
Marcel Holtmann 2018-09-14 15:04:15 +02:00
parent 706f0775c3
commit 0c5b6e4da3
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<!-- This configuration file specifies the required security policies
for iNet Wireless Daemon to work. -->
for Wireless daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
@ -16,8 +16,14 @@
<allow send_destination="net.connman.iwd.hwsim"/>
</policy>
<policy group="wheel">
<allow send_destination="net.connman.iwd"/>
<allow send_interface="net.connman.iwd.Agent"/>
</policy>
<policy at_console="true">
<allow send_destination="net.connman.iwd"/>
<allow send_interface="net.connman.iwd.Agent"/>
</policy>
<policy context="default">