~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to data/com.ubuntu.update-notifier.policy.in

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE policyconfig PUBLIC
3
 
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
4
 
 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
5
 
<policyconfig>
6
 
 
7
 
  <action id="com.ubuntu.update-notifier.pkexec.cddistupgrader">
8
 
    <_message>Authentication is needed to upgrade</_message>
9
 
    <icon_name>update-notifier</icon_name>
10
 
    <defaults>
11
 
      <allow_any>auth_admin</allow_any>
12
 
      <allow_inactive>auth_admin</allow_inactive>
13
 
      <allow_active>auth_admin</allow_active>
14
 
    </defaults>
15
 
    <annotate key="org.freedesktop.policykit.exec.path">/usr/lib/update-notifier/cddistupgrader</annotate>
16
 
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
17
 
  </action>
18
 
 
19
 
  <action id="com.ubuntu.update-notifier.pkexec.package-system-locked">
20
 
    <_message>Authentication is needed to query package system lock status</_message>
21
 
    <icon_name>update-notifier</icon_name>
22
 
    <defaults>
23
 
      <allow_any>no</allow_any>
24
 
      <allow_inactive>yes</allow_inactive>
25
 
      <allow_active>yes</allow_active>
26
 
    </defaults>
27
 
    <annotate key="org.freedesktop.policykit.exec.path">/usr/lib/update-notifier/package-system-locked</annotate>
28
 
  </action>
29
 
</policyconfig>