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

Add support for case insensitive auth realms to matrix auth

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • matrix-auth-plugin
    • None

      It's possible to specify both 'Foo' and 'FOO' for assigning permissions to the same user in a case insensitive auth realm and have only one of them be effective.

      Matrix Auth should add support for the case sensitivity API added in 1.566 (JENKINS-22247), treating both Foo and FOO equally if using a case insensitive auth realm.

        1. global-config.png
          global-config.png
          71 kB
        2. project-config.png
          project-config.png
          32 kB
        3. NPE.txt
          26 kB

          [JENKINS-23805] Add support for case insensitive auth realms to matrix auth

          Patric Steffen created issue -
          ikedam made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: authorize-project [ 18155 ]
          Daniel Beck made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Patric Steffen made changes -
          Attachment New: global-config.png [ 26408 ]
          Attachment New: project-config.png [ 26409 ]
          Daniel Beck made changes -
          Component/s New: matrix-auth [ 18131 ]
          Component/s Original: core [ 15593 ]
          Affects Version/s Original: current [ 10162 ]
          Description Original: Hi,

          I have configured Jenkins to use username and passwords for authentication. I have removed all rights for user "Anonym" in global settings. I have granted the right "Job => Read" to the "Anonym" user in all public projects. On my account I can access to all projects. But I have created a new account for my beta-test-users and granted the right "Job => Read" to this user on all projects is able to test.

          But the users see only the public projects. Before the last updates (I don't know the number of versions) this works fine...
          New: It's possible to specify both 'Foo' and 'FOO' for assigning permissions to the same user in a case insensitive auth realm and have only one of them be effective.

          Matrix Auth should add support for the case sensitivity API added in 1.566 (JENKINS-22247), treating both Foo and FOO equally if using a case insensitive auth realm.
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Summary Original: Users can not access to projects New: Add support for case insensitive auth realms to matrix auth
          Daniel Beck made changes -
          Link New: This issue depends on JENKINS-22247 [ JENKINS-22247 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 9 (Web Link)" [ 14340 ]
          Jesse Glick made changes -
          Assignee New: Stephen Connolly [ stephenconnolly ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-28535 [ JENKINS-28535 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-29248 [ JENKINS-29248 ]

            stephenconnolly Stephen Connolly
            ffw_patric Patric Steffen
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: