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

Migrating Identities from TFS to VSTS #62

Open
devandanger opened this issue May 15, 2019 · 2 comments
Open

Migrating Identities from TFS to VSTS #62

devandanger opened this issue May 15, 2019 · 2 comments

Comments

@devandanger
Copy link
Contributor

devandanger commented May 15, 2019

More of a design question here.

Looking into adding a feature which can replace identities from local AD accounts in TFS to ones in Azure AD accounts in VSTS.

High-level design was to introduce another key into the configuration files.

migrating-identities = [
{"source": "anger1", "target": "[email protected]"},
{"source": "bill", "target": "[email protected]"}
]

The processors are the part I'm making sense of still though.

  1. Make a new processor similar to the IdentityPreProcessor, maybe MigrateIdentityPreProcessor.
  2. Override IsEnabled to look for any list in the migrated-identities field. Any items in this lists would be the litmus test for enabled/true.
  3. Read through source WIs and when I come across one of the migrated-identities replace it with the new one.
  4. Have it run prior to IdentityPreProcessor so it still can have the affect to create those identities.

Does this seem like a sensible approach?

@devandanger
Copy link
Contributor Author

@aseanferguson any thoughts regarding this approach?

@obvioussean
Copy link
Member

obvioussean commented May 20, 2019

That works for me. Just make sure you use the domain format and not just their name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants