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

[AC-1615] [GSuite] Resolve conflicts using timestamps #350

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Aug 22, 2023

  1. [GSuite] Resolve conflicts using timestamps

    When we check for duplicate emails, it's entirely possible that there
    are valid instances of this (e.g. a user has been repeatedly created and
    deleted, and finally created anew).
    
    This changeset introduces the timestamp data provided by GSuite
    (specifically creation and deletion date), and applies the following
    heuristics:
    - if a user was deleted before another one with the same Email address
      was created, then it can be ignored, and no duplicate email error need
      be raised
    - if multiple users with the same email address were all deleted, we can
      safely synchronize that deletion.
    - if a user has been deleted after the creation of a user with a
      conflicting email address, we still raise a duplicate email error.
    hwyss-anybotics committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1825539 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    89e62ba View commit details
    Browse the repository at this point in the history