Add the default deny rule for org.projectx.bt.mesh 45/239945/1 accepted/tizen/unified/20200803.122024 submit/tizen/20200731.001830
authorDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 31 Jul 2020 01:40:49 +0000 (10:40 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 31 Jul 2020 01:40:49 +0000 (10:40 +0900)
There were some policy check errors, this patchset
resolves the issues.

/busconfig/policy[1]/allow[2] : For each allow own you must add a deny own in default context.
/busconfig/policy[1]/allow[4] : For each allow send_destination you must add a deny send_destination in default context.
/busconfig/policy[1]/allow[4] : For each allow send_destination you must add a deny own or deny own_prefix in default context.

Change-Id: Ib191d912b9f64354d77ceb57d5eeab295f53cda2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bluetooth-frwk-service.conf.in

index db71f5d..12066a8 100644 (file)
@@ -29,6 +29,8 @@
         <deny send_destination="org.projectx.bt" send_type="method_call"/>
         <deny own="org.bluez.obex"/>
         <deny send_destination="org.bluez.obex" send_type="method_call"/>
+        <deny own="org.projectx.bt.mesh"/>
+        <deny send_destination="org.projectx.bt.mesh" send_type="method_call"/>
         <allow send_destination="org.projectx.bt" send_interface="org.projectx.bt"/>
         <allow send_destination="org.projectx.bt" send_interface="org.freedesktop.DBus.Properties" send_member="GetAll"/>
         <check send_destination="org.projectx.bt" send_interface="org.bluez.Agent1" privilege="http://tizen.org/privilege/bluetooth.admin"/>