Closed enahum closed 7 months ago
@JulienTant, adding you as reviewer as part of helping to own all things synthetic users. Happy to chime in as needed -- feel free to ping me!
I was reviewing the PR and accidentally committed and pushed fixes for something else here 😓 reverted now, sorry for the noise!
@enahum there is a conflict, but other than that looks good to me.
@jespino can you help look into why the tests are failing?
@enahum I reran the job and everything went green! :)
Summary
Refactor syncUsers so it reads better and fixes the issue where users being activated and deactivated constantly.
We now do not create synthetic users if they are not present in MM but disabled on MS Teams
Ticket Link
https://mattermost.atlassian.net/browse/MM-56942 https://mattermost.atlassian.net/browse/MM-56886