Closed OlhenShu closed 4 months ago
Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions: User is logged in as Authorized User. There is an Econews created by another User.
Steps to reproduce
Actual result: Response code 400 (Bad request) with body ({ "message": "Current user has no permission for this action"}) is returned
Expected result: Response code 403 (Forbidden) is returned
Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions: User is logged in as Authorized User. There is an Econews created by another User.
Steps to reproduce
Actual result: Response code 400 (Bad request) with body ({ "message": "Current user has no permission for this action"}) is returned
Expected result: Response code 403 (Forbidden) is returned