~ubuntu-core-dev/ubuntu/groovy/apport/ubuntu

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
  <vendor>Apport</vendor>
  <vendor_url>https://wiki.ubuntu.com/Apport</vendor_url>
  <icon_name>apport</icon_name>

  <action id="com.ubuntu.apport.root-info">
    <_description>Collect system information</_description>
    <_message>Authentication is required to collect system information for this problem report</_message>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/share/apport/root_info_wrapper</annotate>
    <!-- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> -->
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="com.ubuntu.apport.apport-gtk-root">
    <_description>System problem reports</_description>
    <_message>Please enter your password to access problem reports of system programs</_message>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/share/apport/apport-gtk</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

</policyconfig>