aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/files/org.freedesktop.UDisks.conf
blob: 0098b94e178943f92e6392cf2b898b2e7eca8ee5 (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
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!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 service -->
  <policy user="root">
    <allow own="org.freedesktop.UDisks"/>
  </policy>

  <policy context="default">
    <allow send_destination="org.freedesktop.UDisks"/>

    <allow send_destination="org.freedesktop.UDisks"
	    send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks"/>
    <allow send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Device"/>
    <allow send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Adapter"/>
    <allow send_destination="org.freedesktop.UDisks"
           send_interface="org.freedesktop.UDisks.Expander"/>
    <allow send_destination="org.freedesktop.UDisks"
	    send_interface="org.freedesktop.UDisks.Port"/>
    <allow receive_sender="org.freedesktop.UDisks" receive_type="signal"
           receive_interface="org.freedesktop.UDisks"/>
  </policy>
</busconfig>