User is not able to access the application, even the fact that has correct permissions assigned.
JUNE_2022_RELEASE
JUNE_2022_RELEASE
UAT-D: https://uat-d-portal.xxx.com/ecp/scx/orderflow/
USER: AKON.AGON@XXX.COM
- Go to a product page e.g. Console.
- Assign the access rights to the desired user
- Try to open the Portal app - app opens
- Remove previously added access rights and re-assign them once again
- Go to a product page and try to login once again.
User is not able to access the application
User having the correct access rights should be able to open the application.
Kibana URL with detailed stacktrace CorrelationId: b92d4c2b-196d-4187-ac0c-ca421706615e
Important part of log:
{"@timestamp":"2022-04-04T10:22:39.052Z","@version":"1",
"message":"Open API Response Validation Failed: response: FeignResponseLogEntry(configKey=null, reason=null, status=0,
Open API Response Validation Failed: response: FeignResponseLogEntry(configKey=null, reason=null, status=0, elapsedTime=null, method=GET,
url=http://localhost:8080/users/TEST, headers=HeadersLog(headers=[]), body=null, length=2, operation=RESPONSE, type=OUTBOUND),
reason: { "messages" : [ { "key" : "validation.response.status.unknown", "level" : "ERROR", "message" : "Response status 0 not defined for path '/users/{username}'.", "additionalInfo" : [ ], "nestedMessages" : [ ], "context" : { "empty" : false, "present" : true } } ] }
![bug](Screenshot-2022-05-26 at 18.34.54.png)
Possible tips:
- it was working fine on the first shot (2 BAs enabled and 2 BA available for ordering). Then when permissions have been adjusted by company admin (benjamin@xxx.com) and now it does not work properly.
- could be related to some permissions model changes done by TEAM X in the last Sprint - X.X.
Karol Kujawski