|
12 | 12 |
|
13 | 13 | <!-- Only Geoclue can access the compass -->
|
14 | 14 | <policy user="geoclue">
|
15 |
| - <allow send_interface="net.hadess.SensorProxy.Compass" send_path="/net/hadess/SensorProxy/Compass"/> |
16 |
| - <allow send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> |
17 |
| - <allow send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> |
18 |
| - <allow send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> |
| 15 | + <allow send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy.Compass" send_path="/net/hadess/SensorProxy/Compass"/> |
| 16 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> |
| 17 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> |
| 18 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> |
19 | 19 | </policy>
|
20 | 20 |
|
21 | 21 | <!-- Anyone can talk to the main interface -->
|
22 | 22 | <policy context="default">
|
23 |
| - <allow send_interface="net.hadess.SensorProxy"/> |
24 |
| - <allow send_interface="org.freedesktop.DBus.Introspectable"/> |
25 |
| - <allow send_interface="org.freedesktop.DBus.Properties"/> |
26 |
| - <allow send_interface="org.freedesktop.DBus.Peer"/> |
27 |
| - <deny send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> |
28 |
| - <deny send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> |
29 |
| - <deny send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> |
30 |
| - <!-- <deny send_interface="net.hadess.SensorProxy.Compass"/> --> |
| 23 | + <allow send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy"/> |
| 24 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable"/> |
| 25 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties"/> |
| 26 | + <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer"/> |
| 27 | + <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> |
| 28 | + <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> |
| 29 | + <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> |
| 30 | + <!-- <deny send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy.Compass"/> --> |
31 | 31 | </policy>
|
32 | 32 |
|
33 | 33 | </busconfig>
|
0 commit comments