threescomplement / pap-projekt

Programowanie Aplikacyjne 2023Z - projekt
https://pap.mgarbowski.pl
Other
3 stars 0 forks source link

App shuts down when normal user asks for a user #153

Closed MichLuszcz closed 9 months ago

MichLuszcz commented 9 months ago

When logged in as a normal user, sending a GET on /api/users/{username} will throw an AccessDeniedException: Access Denied, which is not handled anywhere and breaks the app.

Tested on: logged in as rdeckard sent GET /api/users/rdeckard Could not Get response

in backend: Caused by: org.springframework.security.access.AccessDeniedException: Access Denied

mGarbowski commented 9 months ago

naprawione przez #154