summaryrefslogtreecommitdiffstats
path: root/src/responder/ifp/org.freedesktop.sssd.infopipe.conf
blob: 4437fb3ba54e0c464a9d9a8ae27921b1dcf8d4c2 (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
41
42
43
44
45
46
47
<?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"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Domains"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Domains.Domain"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Users"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Users.User"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Groups"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Groups.Group"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Cache"/>
    <allow send_interface="org.freedesktop.sssd.infopipe.Cache.Object"/>
  </policy>

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

</busconfig>