summaryrefslogtreecommitdiff
path: root/geofence-server/config/geofence-server.conf
blob: 88b47b3ec551e95f582d6295627d2d68cf604d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

	<!-- root can own the service -->
	<policy user="root">
		<allow own="org.tizen.lbs.Providers.GeofenceServer"/>

		<!-- Allow all methods on interfaces -->
		<allow send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
		<allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
	</policy>

	<policy user="system">
		<allow own="org.tizen.lbs.Providers.GeofenceServer"/>
		<allow send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
		<allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
	</policy>

	<policy context="default">
		<allow own="org.tizen.lbs.Providers.GeofenceServer"/>
		<deny send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
		<check send_destination="org.tizen.lbs.Providers.GeofenceServer"
			send_interface="org.tizen.lbs.Geofence"
			privilege="http://tizen.org/privilege/location" />
		<allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
	</policy>
</busconfig>