1 <!DOCTYPE busconfig PUBLIC
2 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
6 <!-- Only root or user @AVAHI_USER@ can own the Avahi service -->
7 <policy user="@AVAHI_USER@">
8 <allow own="org.freedesktop.Avahi"/>
11 <allow own="org.freedesktop.Avahi"/>
14 <!-- Allow anyone to invoke methods on Avahi server, except SetHostName -->
15 <policy context="default">
16 <allow send_destination="org.freedesktop.Avahi"/>
17 <allow receive_sender="org.freedesktop.Avahi"/>
19 <deny send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
22 <!-- Allow everything, including access to SetHostName to users of the group "@AVAHI_PRIV_ACCESS_GROUP@" -->
23 <policy group="@AVAHI_PRIV_ACCESS_GROUP@">
24 <allow send_destination="org.freedesktop.Avahi"/>
25 <allow receive_sender="org.freedesktop.Avahi"/>