-
Notifications
You must be signed in to change notification settings - Fork 501
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
When your account is a builtin account, changing user info only changed the "authenticateduser" table #4565
Comments
Once thing to consider; when we first created this we treated the builtin (and all authentication providers) like we do with shib in that they are the source of truth for these details. However, since then we have introduced oauth and user can (and sometimes have to) enter e-mail address via dataverse. All that is needed is some kind of unique token. We may want to consider this here and no longer store anything in builtinuser except for username and password. |
Yes! I would love to remove the following fields from the
As @scolapasta indicated, we need to keep these fields:
|
yup, just discovered this the hard way by changing email. |
Hi @thaorell - is everything moving OK here? Feel free to drop into Slack or post a comment here if you have questions, we're happy to help! |
@djbrooke It is going ok. I'm still learning about the code. I have dropped some columns (email and affiliation) and changed the code a bit, they are still giving errors and I am currently working on fixing them |
@thaorell - are you still working on this, or have you moved onto other items? Thanks! |
assigning to @scolapasta to talk about this at next estimation session |
…catedUser class but it seems like what I was trying to accomplish had already been done. All I think we need to do is remove certain columns from the builtinUser table. #4565
…w. This wasn't the original proposed solution, but I think it's an easier and more effective one. #4565
This included fixing tests with new mocks
The attached PR #4993 takes on solving the title of this story by removing the attributes from builtinUser entirely. AuthenticatedUser is now the goto for firstname, lastname, email, affiliation, position. Note there is an upgrade 4.9.2 to 4.9.3 script that drops these attributes from builtinUser. Things touched:
Do we know of any cases where the data was only updated in builtinUser and not AuthenticatedUser? If so we may need to look into some sort of migration. |
Looks good. The DataverseUserPage does not need/use the bean level builtin User. |
Issues found so far:
Things tested:
|
Steps:
In particular, the builtinuser e-mail is what is used for "forgot password" functionality.
The text was updated successfully, but these errors were encountered: