Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33569

Case-Sensitivity Issue with Project-based Matrix Authorization Strategy

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • matrix-auth-plugin
    • Jenkins 1.651 running on Windows Server 2012

      1. I enabled Active Directory Plugin
      2. I enabled Project-based Matrix Authorization Strategy
      3. I gave some users access to log into Jenkins and also give them access to view/build jobs
      4. For one of the users, his login name in Jenkins was in uppercase
      5. The user with the uppercase name was able to log into Jenkins
      6. However, the user was not able to see any jobs that he was given access to build

      To Fix

      1. I went into the job configuration and under "Enable project-based security" I remove the uppercase username from the job
      2. I added the user again, this time making the username lowercase and assign the same permission as before to the user
      3. The user logged in and was able to see and build the job

      Seems like a case-sensitivity issue to me...

          [JENKINS-33569] Case-Sensitivity Issue with Project-based Matrix Authorization Strategy

          Experiencing this issue in 1.625.2. The user/group has the "good" icon next to it on the matrix, which threw us for awhile since it appeared to be finding the group, versus the "bad" icon for invalid groups. Changing case solved it, but it was not at all obvious that was the issue.

          Jason Carlberg added a comment - Experiencing this issue in 1.625.2. The user/group has the "good" icon next to it on the matrix, which threw us for awhile since it appeared to be finding the group, versus the "bad" icon for invalid groups. Changing case solved it, but it was not at all obvious that was the issue.

          Sam Gleske added a comment -

          I had authentication configured for Jenkins built-in database and Project-based matrix authorization strategy. I experienced the same issue outlined here.

          Debian Sid
          Jenkins 1.651.2
          matrix-auth 1.2

          Sam Gleske added a comment - I had authentication configured for Jenkins built-in database and Project-based matrix authorization strategy. I experienced the same issue outlined here. Debian Sid Jenkins 1.651.2 matrix-auth 1.2

          Daniel Beck added a comment -

          Possibly related to JENKINS-22247

          Daniel Beck added a comment - Possibly related to JENKINS-22247

          Oleg Nenashev added a comment -

          The original report mentions the AD plugin, which is a known issue. It has been fixed in JENKINS-22247 and spinn-offs in plugins. Please reopen if the problem still occurs

          Oleg Nenashev added a comment - The original report mentions the AD plugin, which is a known issue. It has been fixed in JENKINS-22247 and spinn-offs in plugins. Please reopen if the problem still occurs

            Unassigned Unassigned
            yaaadman Michael Miller
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: