-
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
Clean up SCIM-invited users with expired invitation #1264
Merged
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
bbdbdc8
Add cleanup
smatting ade9456
go back multiple days
smatting 49b5010
query by day, delete by day and user
smatting 7ad2f4e
Batch deletion into 1 query per day, remove debugging, 24h delay
smatting 99fbcb0
Move delete of entries outside of the pagination of them
smatting 076bb75
Clean only past dates, no longer need to compare timestamps
smatting b4f0358
Remove check for PendingInvitation
smatting a76974d
...
smatting 59593df
use int in schema
smatting 6eea058
...
smatting d6b98fe
update schema version
smatting d9d1c10
rename expirCleanup->scimInvitationCleanup
smatting 7ac7167
Add delteUsersNoVerify with metric; Remove delay
smatting bba0c4a
...
smatting f5ff416
Fix broken docstring
smatting 0f11d80
Add expires_at to primary key to allow clustering order
smatting b21d5ea
...
smatting b16d4b0
make randomScimUser compile in brig-integration
smatting 533c827
make createUser' (part of it) compile
smatting ade3d6c
make createToken compile
smatting c9e5a8a
Fix: get invitions is not public
smatting cc7c0ba
Add user check
smatting 0a05705
Add debug
smatting bc4abaf
Merge branch 'develop' into smatting/expired-invitations
fisx 574a09f
Fix bug: user is removed from expiry tracking too soon
smatting 7a84c0a
Add test: Users that register in time dont get cleaned
smatting b68b328
Add setExpiredUserCleanupTimeout
smatting eb04525
Revert brig.demo.yaml
smatting add552d
Consistency
smatting 8e5312a
add metric: calls to deleteUserNoVerify
smatting 34be4ef
Merge branch 'develop' into smatting/expired-invitations
fisx df7e28c
Rename data fns with userPendingActivation prefix
smatting 6785c0a
remove superfluous $
smatting 644687a
Remove incorrect note
smatting 1a3f61c
Consitent naming
smatting a5c47bc
createUser'step -> createUserStep
smatting 0ca1fac
don't pollute scope
smatting 180a287
syntax
smatting a516416
Update users_pending_activation primary key to (user)
smatting be10e64
Merge remote-tracking branch 'origin/develop' into smatting/expired-i…
smatting 1d6a309
Remove unused ModJulianDay
smatting 2a64d28
Fix possible race condition.
fisx be2afab
Hello CI
smatting d4c2026
Add retries to assertUserExist
smatting 1d015e2
add debug output
smatting 2b16e0e
Revert "add debug output"
smatting 8009177
Add HasCallStack constraints.
fisx 22f3359
Fix typo.
fisx 0b71fc7
Try to fix race condition in integration tests.
fisx 6651b6c
Merge branch 'develop' into smatting/expired-invitations
fisx 730f7bc
Fix merge error.
fisx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2a64d28
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, nice. Didn't see that.