Check the privelege for MAP APIs as the platform level 15/103315/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 8 Dec 2016 04:47:24 +0000 (13:47 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 8 Dec 2016 04:47:24 +0000 (13:47 +0900)
Change-Id: I0bef92ac56fa75833be6fca134d49fbfb40106e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-service/bt-request-handler.c

index b1b532c..ac7375f 100644 (file)
@@ -2991,6 +2991,16 @@ gboolean __bt_service_check_privilege(int function_name,
        case BT_PXP_REPORTER_UNREGISTER:
        case BT_PXP_REPORTER_GET_PROPERTY:
 
+       case BT_MAP_CREATE_SESSION:
+       case BT_MAP_DESTROY_SESSION:
+       case BT_MAP_SET_FOLDER:
+       case BT_MAP_LIST_FOLDERS:
+       case BT_MAP_LIST_FILTER_FIELDS:
+       case BT_MAP_LIST_MESSAGES:
+       case BT_MAP_UPDATE_INBOX:
+       case BT_MAP_PUSH_MESSAGE:
+       case BT_MAP_GET_MESSAGE:
+
        ret_val = cynara_check(p_cynara, client_creds, client_session, user_creds,
                                BT_PRIVILEGE_PLATFORM);