summaryrefslogtreecommitdiff
path: root/policy/org.freedesktop.packagekit.policy.in
blob: 883c67039ceca6710d78a99cf845c2cdba1cb740 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?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>

  <!--
    Policy definitions for PackageKit system actions.
    Copyright (c) 2007-2008 Richard Hughes <richard@hughsie.com>
  -->

  <vendor>The PackageKit Project</vendor>
  <vendor_url>http://www.packagekit.org/</vendor_url>
  <icon_name>package-x-generic</icon_name>

  <action id="org.freedesktop.packagekit.package-install">
    <_description>Install local file</_description>
    <_message>Authentication is required to install a signed package</_message>
    <icon_name>pk-package-add</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-package</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.package-install-untrusted">
    <_description>Install untrusted local file</_description>
    <_message>Authentication is required to install an untrusted package</_message>
    <icon_name>pk-package-add</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-file</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>


  <action id="org.freedesktop.packagekit.system-trust-signing-key">
    <_description>Trust a key used for signing packages</_description>
    <_message>Authentication is required to consider a key used for signing packages as trusted</_message>
    <icon_name>pk-package-add</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-install-signature</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.package-eula-accept">
    <_description>Accept EULA</_description>
    <_message>Authentication is required to accept a EULA</_message>
    <icon_name>pk-package-add</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-accept-eula</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.package-remove">
    <_description>Remove package</_description>
    <_message>Authentication is required to remove packages</_message>
    <icon_name>pk-package-delete</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-remove</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.system-update">
    <_description>Update packages</_description>
    <_message>Authentication is required to update packages</_message>
    <icon_name>pk-package-update</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-update-system</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.system-rollback">
    <_description>Rollback to a previous transaction</_description>
    <_message>Authentication is required to rollback a transaction</_message>
    <icon_name>pk-rollback</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-rollback</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.systems-sources-configure">
    <_description>Change software source parameters</_description>
    <_message>Authentication is required to change software source parameters</_message>
    <icon_name>pk-package-info</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-repo-enable</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep_always</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.system-sources-refresh">
    <_description>Refresh system sources</_description>
    <_message>Authentication is required to refresh the system sources</_message>
    <icon_name>pk-refresh-cache</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-refresh-cache</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

  <action id="org.freedesktop.packagekit.system-network-proxy-configure">
    <_description>Set network proxy</_description>
    <_message>Authentication is required to set the network proxy used for downloading packages</_message>
    <icon_name>applications-internet</icon_name>
    <vendor_url>http://www.packagekit.org/pk-reference.html#methods-set-proxy</vendor_url>
    <defaults>
      <allow_inactive>no</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

</policyconfig>