Skip to content

Disallow changing a user's email address #764

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ErikAtSumo
Copy link
Collaborator

@ErikAtSumo ErikAtSumo commented May 2, 2025

The API for updating a user does not allow the email address to be modified. If someone tries to modify the email of a sumologic_user, then the provider will silently "pass", without making the desired change.

The new behavior informs the user that the email address may not be changed.

Closes #671

Note that #671 requests ForceNew: true for a user's email. I discussed with Kevin, and we agree that recreating a user unintentionally can have adverse consequences, so it's safer to just stop the operation.

@ErikAtSumo ErikAtSumo force-pushed the erikatsumo-user-forcenew branch from 7b66e68 to 24ec980 Compare May 2, 2025 18:57
@SumoLogic SumoLogic deleted a comment from github-actions bot May 2, 2025
@ErikAtSumo ErikAtSumo force-pushed the erikatsumo-user-forcenew branch 3 times, most recently from d8b1ab6 to 0e2764d Compare May 2, 2025 19:11
@ErikAtSumo ErikAtSumo marked this pull request as ready for review May 2, 2025 19:13
@ErikAtSumo ErikAtSumo requested a review from a team as a code owner May 2, 2025 19:13
@ErikAtSumo ErikAtSumo force-pushed the erikatsumo-user-forcenew branch from 0e2764d to 488b9d2 Compare May 3, 2025 00:43
@ErikAtSumo ErikAtSumo changed the title Add ForceNew to a user's email address Disallow changing a user's email address May 3, 2025
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.

Changing a user's email address doesn't force a resource recreation and falsely succeeds
1 participant