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

Support migrating accounts from GPO IdP to NCSA IdP #1789

Merged
merged 14 commits into from
Mar 7, 2017

Conversation

tcmitchell
Copy link
Member

Provide a user interface for the account transfer clearinghouse API. Verify a user at the configured IdP, then perform the account transfer.

Accounts that are members of projects are ineligible for the transfer. The transfer is a swap of the internal ID, so the user would get disconnected from their projects. This is likely to be unexpected, so simply disallow it. It should be a rare case. These individuals can either migrate project membership manually (it's not hard) or remove themselves from their current projects and do the swap.

Closes #1786

Provide an AJAX call to verify a username/password against an IdP.
Provide a bare UI with JavaScript to enter and verify a user.
Continue the account transfer flow with a second server-side script
to actually invoke the account transfer. This script must
redundantly check username/password to avoid an end around by a
clever user. So check again, then invoke the clearinghouse service
to swap the accounts.
Invoke swap_identities after re-verifying the username and password
at the IdP.
Explain to the user what they can do with the page. Caution them
that they'll lose access to current projects/slices.
Conditionalize this so that it can be omitted if the user is
logged in from the GPO IdP.
After redirection, display a standard "last message" telling the
user that their account has been transferred.
If the destination account (currently logged in) has projects,
disallow the account transfer with a message. These users must
either remove themselves from the projects or manually add this
account to projects of which the source account is a member.
GPO user accounts cannot be the destination of an account transfer.
Prevent this by never putting the transfer button on the profile
page. Further, if a GPO user manually navigates to the transfer
page, redirect them to the home page. Finally, if the GPO user
invokes the do-transfer script manually, return an error code.
@tcmitchell tcmitchell added this to the 3.23 milestone Mar 7, 2017
@tcmitchell tcmitchell self-assigned this Mar 7, 2017
@tcmitchell tcmitchell merged commit c0808bf into GENI-NSF:master Mar 7, 2017
@tcmitchell tcmitchell deleted the 1786-idp-transition branch March 7, 2017 21:32
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.

1 participant