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

Clean up references to guest accounts in last_modifier_id #725

Merged
merged 1 commit into from
May 6, 2024

Conversation

reinhardt
Copy link
Contributor

In acc2353 (#719) we changed transferGuestSession to update last_modifier_id and delete the guest account after all sessions have been transferred. This upgrade step does a similar thing with existing sessions. We don't update the modification date because we don't know when the session was transferred. We also double check that the guest account doesn't have any sessions associated with it so that we can safely delete it.

Fixes syslabcom/scrum#2155

In acc2353 we changed `transferGuestSession` to update
`last_modifier_id` and delete the guest account after all sessions have
been transferred. This upgrade step does a similar thing with existing
sessions. We don't update the modification date because we don't know
when the session was transferred. We also double check that the guest
account doesn't have any sessions associated with it so that we can
safely delete it.

Fixes syslabcom/scrum#2155
@reinhardt reinhardt requested a review from thet April 23, 2024 10:53
Copy link
Member

@thet thet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@reinhardt reinhardt merged commit d8bb7a7 into main May 6, 2024
2 checks passed
@reinhardt reinhardt deleted the scrum-2155-delete-guest-upgrade branch May 6, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants