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

Fix error message when trying to join an orga you are already in #6824

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Feb 7, 2023

When this assertion runs with the requesting user’s access context, it is possible they are not able to see the organization, leading the assertion to not fail. This was caught by the SQL constraints, but this fix gives the user a readable error message again.

  • Ready for review

@fm3 fm3 requested a review from frcroth February 7, 2023 10:20
@fm3 fm3 self-assigned this Feb 7, 2023
@fm3 fm3 enabled auto-merge (squash) February 7, 2023 10:27
@fm3 fm3 merged commit b98e5f6 into master Feb 7, 2023
@fm3 fm3 deleted the join-duplicate-error branch February 7, 2023 10:36
hotzenklotz added a commit that referenced this pull request Feb 7, 2023
…_editable_text_style

* 'master' of github.com:scalableminds/webknossos:
  Fix error message when trying to join an orga you are already in (#6824)
  Access Google Cloud Storage via NIO (#6775)
hotzenklotz added a commit that referenced this pull request Feb 7, 2023
…a_owner

* 'master' of github.com:scalableminds/webknossos:
  Fix error message when trying to join an orga you are already in (#6824)
  Access Google Cloud Storage via NIO (#6775)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants