smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

SDL does not respond to SDL.GetListOfPermission with appId in case there are no specific permissions for the app #3556

Closed GetmanetsIrina closed 3 years ago

GetmanetsIrina commented 4 years ago

Bug Report

SDL does not respond to SDL.GetListOfPermission with appId in case there are no specific permissions for the app

Reproduction Steps
  1. SDL with external_proprietary policies and HMI are started
  2. Mobile app is registered and activated
  3. There are no specific permissions for the app
  4. PTU is not performed or performed without specific permissions for the mobile app
  5. Go to HMI settings-> App permissions - > \<app name>
  6. HMI requests {"jsonrpc":"2.0","id":<n>,"method":"SDL.GetListOfPermissions","params":{"appID":<app_id>}}
Expected Behavior

SDL responds with {"id":<n>,"jsonrpc":"2.0","result":{"allowedFunctions":[],"code":0,"externalConsentStatus":[],"method":"SDL.GetListOfPermissions"}}

Observed Behavior

SDL does not respond to SDL.GetListOfPermissions request

OS & Version Information
SDL log

SDL_log_no_response_to_GetListOfPermissions.zip

LitvinenkoIra commented 3 years ago

@VadymLuchko is working on it

jacobkeeler commented 3 years ago

Closing with the merge of #3627