diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2020-06-23 08:18:16 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2020-06-23 08:18:16 +0900 |
commit | 323028ed27145fdaa37aa5d1dbddaf9ab85a32d6 (patch) | |
tree | 378745375fc310a3610bde31aacac02777633498 | |
parent | 385246c38e94448a52c1a6f157d78dfd617d28e2 (diff) | |
download | bluez-323028ed27145fdaa37aa5d1dbddaf9ab85a32d6.tar.gz bluez-323028ed27145fdaa37aa5d1dbddaf9ab85a32d6.tar.bz2 bluez-323028ed27145fdaa37aa5d1dbddaf9ab85a32d6.zip |
Revert dbus rule for mesh with send_destination
When we remove the original rules, some method calls
are rejected by 'AccessDenied' error.
Change-Id: Ifc5f04455c412be9da7d94cb5b9a69e8eb412804
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | mesh/bluetooth-mesh.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mesh/bluetooth-mesh.conf b/mesh/bluetooth-mesh.conf index 8208e793..a5e00805 100644 --- a/mesh/bluetooth-mesh.conf +++ b/mesh/bluetooth-mesh.conf @@ -10,11 +10,23 @@ <policy user="root"> <allow own="org.bluez.mesh"/> <allow send_destination="org.bluez.mesh"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Application1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Element1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.ProvisionAgent1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Provisioner1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.freedesktop.DBus.Properties"/> + <allow send_destination="org.bluez.mesh" send_interface="org.freedesktop.DBus.ObjectManager"/> </policy> <policy user="network_fw"> <allow own="org.bluez.mesh"/> <allow send_destination="org.bluez.mesh"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Application1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Element1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.ProvisionAgent1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.bluez.mesh.Provisioner1"/> + <allow send_destination="org.bluez.mesh" send_interface="org.freedesktop.DBus.Properties"/> + <allow send_destination="org.bluez.mesh" send_interface="org.freedesktop.DBus.ObjectManager"/> </policy> <policy context="default"> |