dispatch: Can't see a new user
Describe the bug
In the newly deployed locally Dispatch app, where the dispatch-local image was built from Dockerfile pulled today, I created a new organization named Amplify with a user (rlevit@amplify.com) who is an admin of the default org. I logged out and changed URL to http://localhost:8000/amplify/auth/register and registered with a new user test@amplify.com. I ran docker exec -it dispatch-web-1 bash -c 'dispatch user update --role Owner --organization Amplify test@amplify.com' command and got User successfully updated response.
When I log in to Dispatch as rlevit@amplify.com and go to Members I see my user but don’t see the test user. If I switch to Amplify org I don’t see any users. If I log in to Amplify org with the test user I don’t see that user in Members at all. I see the same thing in the API calls - the test user is not showing up regardless which user auth bearer token I use (rlevit or test). With Dispatch running from the image created by the install.sh I was able to see all users in the API and UI.
Expected behavior
All users appear and the Members section.
Screenshots



About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (11 by maintainers)
@vijal-patel sure, go ahead. Thanks!
@mvilanova I redeployed Dispatch from the latest master and now can see all users registered to a non-default org. Thank you for fixing this.