Update dbus conf files 87/121687/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 28 Mar 2017 11:25:42 +0000 (20:25 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 28 Mar 2017 11:25:42 +0000 (20:25 +0900)
Change-Id: I7e81e9abec3c3fbc4605b0bd0992f2bf73a0e96c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
packaging/org.tizen.context.conf
packaging/org.tizen.contextagent.conf

index b43e39b..e136a24 100644 (file)
@@ -1,15 +1,21 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-       <policy smack="System">
+       <policy user="root">
                <allow own="org.tizen.context"/>
-               <allow send_destination="org.tizen.context"/>
        </policy>
-       <policy smack="User">
-               <deny own="org.tizen.context"/>
-               <allow send_destination="org.tizen.context"/>
+       <policy user="service_fw">
+               <allow own="org.tizen.context"/>
        </policy>
        <policy context="default">
-               <allow send_destination="org.tizen.context"/>
+               <deny own="org.tizen.context"/>
+               <allow send_destination="org.tizen.context"
+                      send_interface="org.tizen.context.AppHistory"/>
+               <allow send_destination="org.tizen.context"
+                      send_interface="org.tizen.context.ContextStore"/>
+               <allow send_destination="org.tizen.context"
+                      send_interface="org.tizen.context.JobScheduler"/>
+               <allow send_destination="org.tizen.context"
+                      send_interface="org.tizen.context.SensorRecorder"/>
        </policy>
 </busconfig>
index 3683fc7..f5f075e 100644 (file)
@@ -1,15 +1,15 @@
 <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
-       <policy smack="System">
-               <deny own="org.tizen.contextagent"/>
-               <allow send_destination="org.tizen.contextagent"/>
+       <policy user="root">
+               <allow own="org.tizen.contextagent"/>
        </policy>
        <policy smack="User">
                <allow own="org.tizen.contextagent"/>
-               <allow send_destination="org.tizen.contextagent"/>
        </policy>
        <policy context="default">
-               <allow send_destination="org.tizen.contextagent"/>
+               <deny own="org.tizen.contextagent"/>
+               <allow send_destination="org.tizen.contextagent"
+                      send_interface="org.tizen.contextagent.Legacy/>
        </policy>
 </busconfig>