-
Notifications
You must be signed in to change notification settings - Fork 2
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
The user.sunet_id is saved w/ the email not the username #315
Conversation
RSpec tests use only the username, need to fix to use the email
I'm confused on this one. I thought the sunet_id was what was part of the model, not the email. But this treats the field as containing the full address. |
Ah the sunet_id is already in email form:
just trying to make the tests show how it is in stage and prod. we can do #309 before this..... up to ya'll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; is intent to do rename of "sunet_id" field in User (from #315) as a separate thing? Because what we have now is email, not "sunet_id".
yeah @ndushay im not sure which way we should go, either
|
I added an |
@atz, yeah, what we get as "sunetid" from webauth/shib is actually the whole email address. my guess is that's something to do w/ shib allowing multiple institutions, and so maybe the domain qualifier really is part of the name? anyway, the tests do now better reflect reality, even if our field name now seems a little confusing. |
RSpec tests use only the username, need to fix to use the email
Connects to #309