<!DOCTYPE busconfig PUBLIC
          "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
          "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- Only root can own AFP stats service -->
  <policy user="root">
    <allow own="org.netatalk.AFPStats"/>
  </policy>

  <!-- Allow anyone to invoke methods on the AFP stats service -->
  <policy context="default">
    <allow send_destination="org.netatalk.AFPStats"/>
    <allow receive_sender="org.netatalk.AFPStats"/>
  </policy>

</busconfig>
