Dbus/Cynara Policy Fix 42/176642/7 accepted/tizen/unified/20180510.070822 submit/tizen/20180509.103500
authorSusnata Sovalin <s.sovalin@samsung.com>
Fri, 20 Apr 2018 09:49:04 +0000 (15:19 +0530)
committerSeechan Kim <cbible.kim@samsung.com>
Wed, 9 May 2018 10:33:49 +0000 (10:33 +0000)
Change-Id: I907d7960a4f533a97f69cbf63ec8b0e652bf953e
Signed-off-by: Susnata Sovalin <s.sovalin@samsung.com>
geofence-server/config/geofence-server.conf

index 1effc5b..fb0e8ba 100644 (file)
@@ -5,23 +5,25 @@
        <!-- 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>