Skip to content

Config that controls user information updates #819

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

Merged
merged 4 commits into from
Jul 11, 2023

Conversation

adorton-adobe
Copy link
Collaborator

@adorton-adobe adorton-adobe commented Jun 14, 2023

Summary

  • Since introducing username updates, we need to implement a way to control which fields are updated when updating user info
  • It may not always be desirable to update usernames
  • By default we should allow updates of first name, last name and email address since those have historically been updatable
  • This config allows username updates to be opt-in
  • UST will log a warning if a user has an attribute that can potentially be updated and the config is set up not to update it

Testing Steps

  • Add the following config under adobe_users
    update_attributes:
      - lastname
      - firstname
      - email
      # - username
  • Run sync with update_user_info enabled
  • Test the updating of different attributes with regard to the update_attriubtes list

Fixes #775

@adorton-adobe adorton-adobe merged commit abab686 into v2 Jul 11, 2023
@adorton-adobe adorton-adobe deleted the feature/update-config branch August 28, 2023 19:55
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.

Add options to update user info
1 participant