set default fence state
[platform/core/location/geofence-server.git] / geofence-server / config / geofence-server.conf
1 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
2  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
3 <busconfig>
4
5         <!-- root can own the service -->
6         <policy user="root">
7                 <allow own="org.tizen.lbs.Providers.GeofenceServer"/>
8
9                 <!-- Allow all methods on interfaces -->
10                 <allow send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
11                 <allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
12         </policy>
13
14         <policy user="system">
15                 <allow own="org.tizen.lbs.Providers.GeofenceServer"/>
16                 <allow send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
17                 <allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
18         </policy>
19
20         <policy context="default">
21                 <allow own="org.tizen.lbs.Providers.GeofenceServer"/>
22                 <deny send_destination="org.tizen.lbs.Providers.GeofenceServer"/>
23                 <check send_destination="org.tizen.lbs.Providers.GeofenceServer"
24                         send_interface="org.tizen.lbs.Geofence"
25                         privilege="http://tizen.org/privilege/location" />
26                 <allow receive_sender="org.tizen.lbs.Providers.GeofenceServer"/>
27         </policy>
28 </busconfig>