File: org.qt.policykit.examples.conf

package info (click to toggle)
polkit-qt-1 0.103.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 712 kB
  • ctags: 521
  • sloc: cpp: 3,366; ansic: 11; xml: 9; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (7)
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>