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

Allow users already in UPN format #16849

Merged
merged 1 commit into from
Jan 18, 2018
Merged

Conversation

jvlcek
Copy link
Member

@jvlcek jvlcek commented Jan 18, 2018

The Classic UI peels the domain from the userid before authenticating.
The SSUI does not.

These changes will make username matching more robust by supporting both a username with and without the domain portion.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1424618

Related PRs:

  • Converting userids to UPN format to avoid duplicate user records 15535

  • Add support for the domain user attribute 127

  • Document support for the domain user attribute 424

  • Add support for the external auth domain user attribute 250

  • [FINE] Do not downcase the amazon IAM username #15959

  • If the userid is not found in the DB do a case insensitive search 15904

Steps for Testing/QA

  1. Log into classic ui as short usernme: testuser1 then log out.
  2. Confirm that the userid of testuser1 is still [email protected]
  3. Log into SSUI as UPN username:[email protected]
  4. Confirm that the userid of testuser1 is still [email protected]

The Classic UI peels the domain from the userid before authenticating.
The SSUI does not.

These changes will make username matching more robust.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1424618
@jvlcek
Copy link
Member Author

jvlcek commented Jan 18, 2018

@abellotti Please merge when tests pass.

@jvlcek
Copy link
Member Author

jvlcek commented Jan 18, 2018

@miq-bot assign @abellotti

@jvlcek
Copy link
Member Author

jvlcek commented Jan 18, 2018

@miq-bot add_babels bug, authentication

@miq-bot
Copy link
Member

miq-bot commented Jan 18, 2018

@jvlcek unrecognized command 'add_babels', ignoring...

Accepted commands are: add_label, assign, close_issue, move_issue, remove_label, rm_label, set_milestone

@jvlcek
Copy link
Member Author

jvlcek commented Jan 18, 2018

@miq-bot add_labels bug, authentication

@miq-bot
Copy link
Member

miq-bot commented Jan 18, 2018

Checked commit jvlcek@e2fe6bf with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@abellotti abellotti self-requested a review January 18, 2018 20:01
@jvlcek
Copy link
Member Author

jvlcek commented Jan 18, 2018

@miq-bot add_label gaprindashvili/yes

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 👍

@gtanzillo gtanzillo added this to the Sprint 78 Ending Jan 29, 2018 milestone Jan 18, 2018
@gtanzillo gtanzillo merged commit 91aa9fb into ManageIQ:master Jan 18, 2018
simaishi pushed a commit that referenced this pull request Jan 18, 2018
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 97e75fd1b2414c4c61e18c03933631388cb88580
Author: Gregg Tanzillo <[email protected]>
Date:   Thu Jan 18 16:26:53 2018 -0500

    Merge pull request #16849 from jvlcek/bz1424618_ssui
    
    Allow users already in UPN format
    (cherry picked from commit 91aa9fb51965190b001a2fa06015d33bfb6a0ff5)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536221

@jvlcek jvlcek deleted the bz1424618_ssui branch February 8, 2018 21:16
@jvlcek jvlcek restored the bz1424618_ssui branch February 8, 2018 21:16
@jvlcek jvlcek deleted the bz1424618_ssui branch February 8, 2018 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants