~usb-creator-hackers/usb-creator/trunk

« back to all changes in this revision

Viewing changes to dbus/com.ubuntu.usbcreator.policy.in

  • Committer: Benjamin Drung
  • Date: 2022-11-02 13:01:26 UTC
  • Revision ID: benjamin.drung@canonical.com-20221102130126-4z0xyivy5f37dp13
Move to https://code.launchpad.net/~usb-creator-hackers/usb-creator/+git/main

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.0/policyconfig.dtd">
5
 
<policyconfig>
6
 
 
7
 
  <vendor>Startup Disk Creator</vendor>
8
 
  <vendor_url>https://launchpad.net/usb-creator</vendor_url>
9
 
  <icon_name>usb-creator-gtk</icon_name>
10
 
 
11
 
  <action id="com.ubuntu.usbcreator.image">
12
 
    <_description>Image the device</_description>
13
 
    <_message>System policy prevents writing a disk image to this device</_message>
14
 
    <defaults>
15
 
      <allow_any>no</allow_any>
16
 
      <allow_inactive>no</allow_inactive>
17
 
      <allow_active>auth_admin_keep</allow_active>
18
 
    </defaults>
19
 
  </action>
20
 
  <action id="com.ubuntu.usbcreator.kvm">
21
 
    <_description>Run KVM</_description>
22
 
    <_message>System policy prevents running KVM</_message>
23
 
    <defaults>
24
 
      <allow_any>no</allow_any>
25
 
      <allow_inactive>no</allow_inactive>
26
 
      <allow_active>auth_admin_keep</allow_active>
27
 
    </defaults>
28
 
  </action>
29
 
</policyconfig> 
30