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

Improve IdP invariants #2533

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Improve IdP invariants #2533

merged 1 commit into from
Jul 5, 2022

Conversation

fisx
Copy link
Contributor

@fisx fisx commented Jul 5, 2022

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.
  • changelog.d contains the following bits of information (details):
    • A file with the changelog entry in one or more suitable sub-sections. The sub-sections are marked by directories inside changelog.d.

@fisx fisx temporarily deployed to cachix July 5, 2022 06:58 Inactive
@fisx fisx marked this pull request as ready for review July 5, 2022 06:58
updateOldIssuers :: IdP -> Sem r ()
updateOldIssuers _ = pure ()
-- we *could* update @idp ^. SAML.idpExtraInfo . wiReplacedBy@ to not keep the idp about
-- to be deleted in its old issuers list, but it's tricky to avoid race conditions, and
-- there is little to be gained here: we only use old issuers to find users that have not
-- been migrated yet, and if an old user points to a deleted idp, it just means that we
-- won't find any users to migrate. still, doesn't hurt much to look either. so we
-- won't find any users to migrate. still, doesn't hurt mucht to look either. so we
Copy link
Contributor

@battermann battermann Jul 5, 2022

Choose a reason for hiding this comment

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

typo, but not worth running CI all over again IMO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops. when i re-read this, i mixed up red and green, and thought it was fixing a typo. oh well.

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.

None yet

2 participants