summaryrefslogtreecommitdiffstats
path: root/install/oddjob/etc/dbus-1/system.d/oddjob-ipa-trust.conf
blob: 2e4c1367b1f4589948aed094576fbda5af168489 (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
33
34
35
36
37
38
39
40
<!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 (provide) the com.redhat.idm.trust service
       on the system bus. -->
  <policy user="root">
    <allow own="com.redhat.idm.trust"/>
    <allow send_destination="com.redhat.idm.trust"
           send_path="/"
           send_interface="com.redhat.idm.trust"
           send_member="fetch_domains"/>
  </policy>

  <!-- Allow anyone to call the introspection methods of the "/" object
       provided by the com.redhat.idm.trust service. -->
  <policy context="default">
    <allow send_destination="com.redhat.idm.trust"
           send_path="/"
           send_interface="org.freedesktop.DBus.Introspectable"
           send_member="Introspect"/>
    <allow send_destination="com.redhat.idm.trust"
           send_path="/"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="GetAll"/>
    <allow send_destination="com.redhat.idm.trust"
           send_path="/"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="Get"/>
  </policy>

  <policy user="apache">
    <allow send_destination="com.redhat.idm.trust"
           send_path="/"
           send_interface="com.redhat.idm.trust"
           send_member="fetch_domains"/>
  </policy>

</busconfig>