Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 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
  <policy context="default">
6
    <!-- Allow everyone to talk to main service. We'll later add an agent to
7
         only share the location if user allows it. -->
8
    <allow send_destination="org.freedesktop.GeoClue2"/>
9
  </policy>
10
 
11
  <policy user="geoclue">
12
    <!-- Only allow geoclue to own the name on the bus -->
13
    <allow own="org.freedesktop.GeoClue2"/>
14
 
15
    <!-- Also give geoclue access to wpa_supplicant API -->
16
    <allow receive_sender="fi.w1.wpa_supplicant1"
17
           receive_type="signal"/>
18
 
19
    <allow send_destination="fi.w1.wpa_supplicant1"
20
           send_interface="org.freedesktop.DBus.Properties"
21
           send_member="Get"/>
22
 
23
    <allow send_destination="fi.w1.wpa_supplicant1"
24
           send_interface="org.freedesktop.DBus.Properties"
25
           send_member="GetAll"/>
26
 
27
    <allow send_destination="fi.w1.wpa_supplicant1"
28
           send_interface="org.freedesktop.DBus.Introspectable"/>
29
 
30
    <allow send_destination="fi.w1.wpa_supplicant1"
31
           send_interface="fi.w1.wpa_supplicant1.Interface"
32
           send_type="method_call"
33
           send_member="Scan"/>
34
  </policy>
35
 
36
  <policy user="root">
37
    <!-- Allow root to own the name on the bus -->
38
    <allow own="org.freedesktop.GeoClue2"/>
39
  </policy>
40
</busconfig>