"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
- <policy context="default">
+ <policy user="geoclue">
+ <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>
+
+ <policy user="root">
<allow send_interface="org.freedesktop.GeoClue2.Agent"
send_path="/org/freedesktop/GeoClue2/Agent"/>
<allow send_interface="org.freedesktop.DBus.Properties"
<allow send_destination="fi.w1.wpa_supplicant1"
send_interface="org.freedesktop.DBus.Introspectable"/>
</policy>
+
+ <policy user="root">
+ <!-- Allow root to own the name on the bus -->
+ <allow own="org.freedesktop.GeoClue2"/>
+ </policy>
</busconfig>
# separated by a ';'.
whitelist=gnome-shell
+# Network NMEA source configuration options
+[network-nmea]
+
+# Fetch location from NMEA sources on local network?
+enable=true
+
# WiFi source configuration options
[wifi]
# Application configuration options
#
+# NOTE: Having an entry here for an application with allowed=true means that
+# geoclue will not ask agent to authorize the application. This is to
+# ensure that system components and applications with built-in
+# authorization mechanism (e.g web browsers) do not have to be bound to
+# agents.
+#
# Format:
#
# # Desktop ID of application without .desktop part