<!-- 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">
+ <policy group="users">
<allow own="org.tizen.lbs.Providers.GeofenceServer"/>
+ <allow send_destination="org.tizen.lbs.Providers.GeofenceServer"
+ send_path="/org/tizen/lbs/Providers/GeofenceServer"/>
+ </policy>
+
+ <policy context="default">
+ <deny 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"/>
+ privilege="http://tizen.org/privilege/location"/>
</policy>
</busconfig>