File: org.freedesktop.PackageKit.conf.in

package info (click to toggle)
packagekit 1.2.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,224 kB
  • sloc: ansic: 52,083; cpp: 10,938; xml: 4,828; python: 3,791; sh: 269; perl: 60; makefile: 53
file content (33 lines) | stat: -rw-r--r-- 1,357 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
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->

<!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 PackageKit to work. -->

  <!-- Only user @PACKAGEKIT_USER@ can own the PackageKit service -->
  <policy user="@PACKAGEKIT_USER@">
    <allow own="org.freedesktop.PackageKit"/>
  </policy>

 <!-- Allow anyone to call into the service - we'll reject callers using PolicyKit -->
  <policy context="default">
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.PackageKit"/>
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.PackageKit.Transaction"/>
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.PackageKit.Offline"/>
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.DBus.Properties"/>
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.DBus.Introspectable"/>
    <allow send_destination="org.freedesktop.PackageKit"
           send_interface="org.freedesktop.DBus.Peer"/>
  </policy>

</busconfig>