summaryrefslogtreecommitdiff
path: root/community/cdemu-daemon/cdemu-daemon-dbus.conf
blob: ed14c6e39b85e4dbda665b6051b152e46f41ec38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!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 the CDEmuDaemon service on bus -->
    <policy user="root">
        <allow own="net.sf.cdemu.CDEmuDaemon"/>
    </policy>
    <policy group="root">
        <allow own="net.sf.cdemu.CDEmuDaemon"/>
    </policy>
    
    <!-- Allow users at the console to invoke methods on the interface -->
    <policy at_console="true">
        <allow send_destination="net.sf.cdemu.CDEmuDaemon"/>
    </policy>

    <!-- Allow users in the 'cdemu' group to invoke methods on the interface -->
    <policy group="cdemu">
        <allow send_destination="net.sf.cdemu.CDEmuDaemon"/>
    </policy>
</busconfig>