summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/org.freedesktop.sssd.infopipe.conf
blob: 4f2a906ba812d46b6bca401d3fc14baa5c18de50 (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
<?xml version="1.0"?> <!--*-nxml-*-->
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- This configuration file specifies the required security policies
       for the SSSD InfoPipe to work. -->

  <!-- Only root can own (provide) the SSSD service -->
  <policy user="root">
    <allow own="org.freedesktop.sssd.infopipe"/>
  </policy>

  <!-- Allow all methods on the interface -->
  <!-- Right now, this will be handled by a limited ACL
       within the InfoPipe Daemon. -->
  <policy context="default">
    <allow send_destination="org.freedesktop.sssd.infopipe"
           send_interface="org.freedesktop.DBus.Introspectable"/>

    <allow send_destination="org.freedesktop.sssd.infopipe"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="GetAll"/>
    <allow send_destination="org.freedesktop.sssd.infopipe"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="Get"/>
    <allow send_destination="org.freedesktop.sssd.infopipe"
           send_interface="org.freedesktop.DBus.Properties"
           send_member="Set"/>

    <allow send_interface="org.freedesktop.sssd.infopipe"/>
  </policy>

</busconfig>