-
Notifications
You must be signed in to change notification settings - Fork 65
Validate bugzilla email/accounts #610
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
Comments
We could just do the "default": set any changes to a |
In order to not have to store anything, it would be an idea to e.g. have the link be a signed JWT token valid for a limited time (10 minutes?) that includes the new email address, old one, current last-user-mod-time, and username? |
Validate email addresses when changed in the `mail` or `rhbz_mail` attributes. Fixes: fedora-infra#610 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
Validate email addresses when changed in the `mail` or `rhbz_mail` attributes. Fixes: fedora-infra#610 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
Oh, things are much worse than just not using or validating it. I changed my "email address" field from my RH address to my personal address because I tend to use my fedoraproject.org address upstream and don't want to have to log into work email to see replies to it. My "Red Hat Bugzilla Email" is still set to jforbes@redhat.com and was not touched. For some reason I just got a lot of bugzilla notifications:
This makes it look like I left the company or something. It is beyond annoying, and actually harmful for optics. Luckily kernel bugs themselves are assigned to the kernel-team alias, so were not effected, but everything else I own was. |
Uh, I have no idea what happened here. Noggin does not initiate communication with Bugzilla as far as I know. @pypingou maybe one of the toddlers listen to this type of change and updates Bugzilla ? |
Toddlers does the sync to bugzilla indeed. |
So I am assuming if I leave my email setup the way it is right now and somehow get bugzilla changed on the couple of packages that were owned by my email directly switched back, it will not try to change them again unless I change something else? Or do I need to switch my regular email field back to my redhat address? |
In the longer term, I think we should either add the support to Toddlers, or remove the field from the Fedora Account System. I would prefer the first option, but what we have now certainly leads to unexpected results. |
Yeah I think that the problem is that the field advertises something that does not do anything yet, because the bugzilla admins don't want us to use this field until the email ownership is validated (which is the original point of this ticket). When that's fixed, toddlers should only look at changes in the bugzilla email attribute, not in the main email attribute, for this task. Right? |
I might suggest from my experience, that nothing validated the email address I put in the regular email field either, and we still changed bugzilla ownership without validation. Making toddler do the right thing now puts us in no worse of a situation. |
Validate email addresses when changed in the `mail` or `rhbz_mail` attributes. Fixes: #610 Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
Currently we have a bugzilla email/account field in noggin, but we aren't doing much with it yet.
When the user doesn't set this, we use their main address to log them into bugzilla via SAML2.
When they do set it, we need some way to validate that the email/account is valid and matches the user. Bugzilla admins would like this before we start using this for logging into bugzilla.
I am not entirely sure how we can do this validation. Perhaps @puiterwijk will have some ideas?
The text was updated successfully, but these errors were encountered: