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

« back to all changes in this revision

Viewing changes to dbus/com.ubuntu.USBCreator.conf

  • 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
 
<!DOCTYPE busconfig PUBLIC
2
 
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3
 
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4
 
<busconfig>
5
 
 
6
 
  <!-- Only root can own the service -->
7
 
  <policy user="root">
8
 
    <allow own="com.ubuntu.USBCreator"/>
9
 
  </policy>
10
 
 
11
 
  <!-- Allow anyone to invoke methods (further constrained by
12
 
       PolicyKit privileges -->
13
 
  <policy context="default">
14
 
    <allow send_destination="com.ubuntu.USBCreator" 
15
 
           send_interface="com.ubuntu.USBCreator"/>
16
 
    <allow send_destination="com.ubuntu.USBCreator" 
17
 
           send_interface="org.freedesktop.DBus.Introspectable"/>
18
 
    <allow send_destination="com.ubuntu.USBCreator" 
19
 
           send_interface="org.freedesktop.DBus.Properties"/>
20
 
  </policy>
21
 
 
22
 
</busconfig>
23