You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a newly created user will receive a 401 error from the front page of the UI, as the API returns 401 if the user can't read any organizations. The endpoint for listing organizations should rather return an OK response with empty list of organizations, as the user is authorized to list the organizations with an empty list, even if they don't have access to any single organization. This would make the experience for a newly created user better.
The text was updated successfully, but these errors were encountered:
This should already be the case, I tried to reproduce it in a test but I couldn't, for a user with no organization permissions it returned 200 with an empty organization list.
Currently a newly created user will receive a 401 error from the front page of the UI, as the API returns 401 if the user can't read any organizations. The endpoint for listing organizations should rather return an OK response with empty list of organizations, as the user is authorized to list the organizations with an empty list, even if they don't have access to any single organization. This would make the experience for a newly created user better.
The text was updated successfully, but these errors were encountered: