Commit e256d78b authored by Zeeshan Ali's avatar Zeeshan Ali

agent,dbus: Resrict access by object path

This fixes the issue of us giving every connection access to every
property on the system bus.
parent 22a988d5
......@@ -3,7 +3,9 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<allow send_interface="org.freedesktop.GeoClue2.Agent"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
<allow send_interface="org.freedesktop.GeoClue2.Agent"
send_path="/org/freedesktop/GeoClue2/Agent"/>
<allow send_interface="org.freedesktop.DBus.Properties"
send_path="/org/freedesktop/GeoClue2/Agent"/>
</policy>
</busconfig>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment