plugins/admin: add ServiceAllowList method
authorYun-Hao Chung <howardchung@chromium.org>
Tue, 3 Aug 2021 11:43:11 +0000 (19:43 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commit76ac01852619705a5a77532e54bc3168182bb8c5
treeee857a2d66814badf86388e941303620a536d105
parent3b037e6bc319e71a1104498d4ff4e893d2dd5b40
plugins/admin: add ServiceAllowList method

This adds code to register interface org.bluez.AdminPolicySet1.
The interface will provide methods to limit users to operate certain
functions of bluez, such as allow/disallow user to taggle adapter power,
or only allow users to connect services in the specified list, etc.

This patch also implements ServiceAllowlist in
org.bluez.AdminPolicySet1.

Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
plugins/admin.c