-
Notifications
You must be signed in to change notification settings - Fork 325
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
SCIM onboarding flow again #1213
Conversation
5da39fc
to
4418bee
Compare
bd26d3d
to
3bfc508
Compare
1468b26
to
d5c7850
Compare
The renaming helps seeing all places where we may or may not want to change the application logic.
Additional quirk: also add a user with the 'PendingInvitation' status we introduced earlier. This way, both SCIM-GET and team settings will show a user (resp. pending invitation), but no active user will confuse any other part of the system.
- Refactor isNewUserInvitedViaScim - Apply suggestions from code review - Disallow NewTeamMemberScimInvitation in NewUserPublic - Refactor: rename isNewUserCreatedViaScim -> isNewUserInvitedViaScim - Send welcome mail for scim invited users
Co-authored-by: fisx <mf@zerobuzz.net>
367c5fc
to
f29a2bd
Compare
We're testing all of this, both happy and sad paths. It's admittedly hard to find, though: 6b60d7f |
I think we're still missing some bits & pieces... The following database functions in
There is also ES index refresh, but we have that covered. No other mentions of the table, so with this, we should be ok.
|
just fixed that in my last comment. |
|
…reapp/wire-server into fisx/scim-onboarding-flow-again
|
There are two categories of calls here, too.
Not entirely hypothetical, so good catch & good fix!
I agree. |
CI problems are unrelated; integration tests passed locally. |
Fixes https://github.com/zinfra/backend-issues/issues/1761