When I set role to "Any" or "All users", it works. When I check the upload, it has the correct user:679f5f8a00035fe3b984
When I open the http://localhost:3000/v1/storage/buckets/profileImages/files/679f9f04002f4e147330/view?project=679250d800205b326dbc
and check the session request-cookie
I see the right one, although maybe it's not setting the right session? I only see 1 cookie, the one I set SSR.
TL;DR
Developers are facing a 404 error for an image not found when setting user permissions correctly with the correct session cookie. It works when the role is set to "Any" or "All users". The session cookie seems to be correct, but there may be an issue with setting the right session. Only one cookie is seen, the one set SSR.