Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
22.01.01
-
None
Description
ModelPermission's evalPermissionService method will call a permission-service as part of checking whether a user is permitted to execute a service.
If the permission service returns an error response then a Null Pointer Exception will be thrown by evalPermissionService since the error response is not trapped.
Amend evalPermissionService to detect an error response from the permission service and return it unchanged to the caller.
Further, amend evalPermissionService to check for the presence of the hasPermission attribute in the response before attempting to retrieve and convert it to a boolean.
Attachments
Issue Links
- links to