• 689.v731678c3e0eb_

      We use this plugin with Active Directory users authorisation and via AD user can be authorised with lowercase and CamelCase names. But "role-strategy" plugin uses exact user name and we have to register two user names for each user - lowercase and CamelCase.

          [JENKINS-19409] Support case-insensitive mode for user IDs

          Oleg Nenashev added a comment -

          batmat, I've reopened the issue.

          I'll consider the merge of the PR in the next release.

          Oleg Nenashev added a comment - batmat , I've reopened the issue. I'll consider the merge of the PR in the next release.

          Baptiste Mathus added a comment - - edited

          oleg_nenashev Great! Thanks!

          Baptiste Mathus added a comment - - edited oleg_nenashev Great! Thanks!

          pixman20 added a comment - - edited

          Has this been verified to work when using the "authenticated" special "user" when assigning roles.
          It may be that it works inherently, but I just want to verify prior to release.
          Also, will the update provide an option or will it automatically be case insensitive? (n/m, just saw the png)

          pixman20 added a comment - - edited Has this been verified to work when using the "authenticated" special "user" when assigning roles. It may be that it works inherently, but I just want to verify prior to release. Also, will the update provide an option or will it automatically be case insensitive? (n/m, just saw the png)

          Oleg Nenashev added a comment -

          @pixman20
          Yes, it should work with the "authenticated" user group.
          If you want to perform an additional testing, I can provide the plugin's build with the patch. Such contribution will be appreciated.

          Oleg Nenashev added a comment - @ pixman20 Yes, it should work with the "authenticated" user group. If you want to perform an additional testing, I can provide the plugin's build with the patch. Such contribution will be appreciated.

          pixman20 added a comment - - edited

          oleg_nenashev, I'd be happy to contribute and test it out. Feel free to email me (address in profile) unless there's somewhere I can grab it from. Thanks!

          pixman20 added a comment - - edited oleg_nenashev , I'd be happy to contribute and test it out. Feel free to email me (address in profile) unless there's somewhere I can grab it from. Thanks!

          Ben Herfurth added a comment -

          What about the merge?

          Ben Herfurth added a comment - What about the merge?

          Believe I'm seeing this problem.

          Users will be granted different access, whether they are logging in as lower-case "username" or have any or all letters capitalized.

          If there's still something that needs to be tested prior to merge, please contact me - I'd be happy to test.

          Flemming Steffensen added a comment - Believe I'm seeing this problem. Users will be granted different access, whether they are logging in as lower-case "username" or have any or all letters capitalized. If there's still something that needs to be tested prior to merge, please contact me - I'd be happy to test.

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - I will add it to the scope of https://jenkins.io/projects/gsoc/2019/project-ideas/role-strategy-ux/

          Oleg Nenashev added a comment -

          I believe that a proper implementation nowadays would be an integration with User ID strategies from JENKINS-22247: https://javadoc.jenkins.io/jenkins/model/IdStrategy.html. Such extension point is available in recent versions

          Oleg Nenashev added a comment - I believe that a proper implementation nowadays would be an integration with User ID strategies from  JENKINS-22247 : https://javadoc.jenkins.io/jenkins/model/IdStrategy.html . Such extension point is available in recent versions

          I have this same issue with OpenID connect authentication due to camelcase email addresses.  An option to treat all usernames as lowercase would address the issue blocking us from using role based strategy with openID connect

          brendan waters added a comment - I have this same issue with OpenID connect authentication due to camelcase email addresses.  An option to treat all usernames as lowercase would address the issue blocking us from using role based strategy with openID connect

            mawinter69 Markus Winter
            msavich Alex
            Votes:
            17 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: