summaryrefslogtreecommitdiffstats
path: root/examples/org.qt.policykit.examples.conf
blob: 304d269f6e5b8d3ad5d8be72b9d0526428a4e9fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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 PolicyKit examples to work. -->

  <!-- Only user root can own the PackageKit service -->
  <policy user="root">
    <allow own="org.qt.policykit.examples"/>
  </policy>

  <!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
  <policy context="default">
    <allow send_destination="org.qt.policykit.examples"/>
  </policy>

</busconfig>