Modify mesh dbus configs 57/236257/1 accepted/tizen/unified/20200616.041024 submit/tizen/20200616.024938
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Jun 2020 03:31:41 +0000 (12:31 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 16 Jun 2020 03:31:41 +0000 (12:31 +0900)
To avoid the dbus check error, remove send interface lines

You mustn't use send_interface without send_destination or
send_destination_prefix, unless you limit the rule to only
signals with send_type="signal"

Change-Id: I5960bf0a9a99d745ad4c1c6a175f93e246f0ab14
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
mesh/bluetooth-mesh.conf

index a37b207..8208e79 100644 (file)
   <policy user="root">
     <allow own="org.bluez.mesh"/>
     <allow send_destination="org.bluez.mesh"/>
-    <allow send_interface="org.bluez.mesh.Application1"/>
-    <allow send_interface="org.bluez.mesh.Element1"/>
-    <allow send_interface="org.bluez.mesh.ProvisionAgent1"/>
-    <allow send_interface="org.bluez.mesh.Provisioner1"/>
-    <allow send_interface="org.freedesktop.DBus.Properties"/>
-    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
   </policy>
 
   <policy user="network_fw">
     <allow own="org.bluez.mesh"/>
     <allow send_destination="org.bluez.mesh"/>
-    <allow send_interface="org.bluez.mesh.Application1"/>
-    <allow send_interface="org.bluez.mesh.Element1"/>
-    <allow send_interface="org.bluez.mesh.ProvisionAgent1"/>
-    <allow send_interface="org.bluez.mesh.Provisioner1"/>
-    <allow send_interface="org.freedesktop.DBus.Properties"/>
-    <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
   </policy>
 
   <policy context="default">