<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
    <policy user="root">
        <allow own="org.wpantund"/>
        <allow own="org.wpantund.wpanctl"/>

        <allow send_interface="org.wpantund.Join"/>
        <allow send_interface="org.wpantund.Form"/>
        <allow send_interface="org.wpantund.Leave"/>
        <allow send_interface="org.wpantund.Attach"/>
        <allow send_interface="org.wpantund.Status"/>
        <allow send_interface="org.wpantund.Reset"/>
        <allow send_interface="org.wpantund.NetScanStart"/>
        <allow send_interface="org.wpantund.NetScanStop"/>
        <allow send_interface="org.wpantund.List"/>


        <!-- Deprecated -->
        <allow own="com.nestlabs.WPANTunnelDriver"/>
        <allow own="com.nestlabs.WPANTunnelDriver.wpanctl"/>
        <allow send_destination="com.nestlabs.WPANTunnelDriver"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Join"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Form"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Leave"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Resume"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Scan"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.PermitJoin"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.Status"/>
        <allow send_interface="com.nestlabs.WPANTunnelDriver.List"/>
    </policy>
    <policy at_console="true">
        <allow send_destination="org.wpantund"/>

        <!-- Deprecated -->
        <allow send_destination="com.nestlabs.WPANTunnelDriver"/>
    </policy>
    <policy context="default">
        <deny send_destination="org.wpantund"/>

        <!-- Deprecated -->
        <deny send_destination="com.nestlabs.WPANTunnelDriver"/>
    </policy>
</busconfig>
