<?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 root can own the PackageKit service -->
  <policy user="root">
    <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>

