Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch error on partner_users#create User already has the requested role so users don't get 500 error #5036

Open
2 tasks
cielf opened this issue Feb 23, 2025 · 0 comments
Labels

Comments

@cielf
Copy link
Collaborator

cielf commented Feb 23, 2025

Summary

If you try to set up a partner user that is already set up on that partner, it should give you a friendly, informative error, rather than a 500.

Why?

Reduction of bank user confusion

Details

To recreate:

sign in as [email protected]
Click Partners
select one of the partners
Manage Users
There will be at least one user already -- note the information for one of the users
Fill in the "Invite New User" information with that user's info, and click "Invite User"
You should see a nasty error page

What we want

We want to catch this and give a pleasant error "That user already has the requested role" will do.

Criteria for completion

  • error appears as described
  • automated tests to confirm
@cielf cielf added Help Wanted Groomed + open to all! Difficulty—Beginner labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant