-
Notifications
You must be signed in to change notification settings - Fork 59
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
Use object ID consistently #276
Conversation
a55691e
to
ce8ca5d
Compare
+ "\nTenant ID: " + user.getTenantID() | ||
+ "\nGroups: " + user.getGroupOIDs() + "\n"; | ||
+ "\nTenant ID: " + user.getTenantID(); |
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.
Why do you delete the list of groups from the user description? I recall viewing it in order to figure out whether access would be granted to a user.
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.
I'll revert this, the whoAmI
page also displayed it, so I removed as it seemed unneeded, but I see the user profile page doesn't display it.
Thanks for the fix! We have noticed two bugs, however, one of them breaking:
EDIT: If I enter the UPN of the user as URL (instead of now, the GUID), I still find the favorites. All user settings have been reset, including themes etc. |
I've updated the release notes |
Most importantly, this may be problematic with API Tokens. We are investigating and if we find anything else of relevance, we will post it here :) |
Not so nice, that now all users are duplicated! For our use cases it was nicer to have the e-mail as user id instead of the object id. |
Would it be possible to auto migrate the users? In my opinion this update should display a big hint in the pluginManager that it is not backward compatible. I think everybody has troubles when updating. |
sure warning coming in #396 I don't think it will be possible to auto migrate, a script should be possible though if you write one I'm happy to link in release notes |
This has broken usage of the Jenkins API where previously |
it might be possible to have it as an option but there are issues with using it as the UPN, feel free to file an issue / PR for it. |
Can the documentation on the plugin's page (specifically this line and this line) be updated to reflect display names no longer showing up? my plugin got updated by someone else and I didn't know it, so I spent quite a bit of time super confused as to what happened, and having had the mentioned parts of the documentation updated would've helped me for sure. |
Updated in #456 Feel free to propose updates yourself too if that's not enough. |
Relates to #190
Fixes #278
This seems to fix inconsistencies around auth and uses the approach recommended by Microsoft for identifiers:
https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-optional-claims
i.e never use UPNs for IDs.
Unfortunately this means that users display names will not show up in the jcasc export.
Groups will continue to have their
name (object id)
format thoughTODO: