We use the "Active Directory" plugin to authenticate users and the "Project-based Matrix Authorization Strategy" to grant access to jobs.

      In Jenkins "Configure Global Security" we configured that the user "authenticated" can "overall - Read" and nothing else.

      Now create a new folder "folder1", and give AD user "user1" all grants on the folder.

      Outcome: The user can not see the folder, and can not create new jobs in the folder.

      Expected outcome: The user should see the folder when he logs in, and create jobs inside it.

       

      If we give the user "Anonymous" all the grants, it works like expected. But not giving the user "user1" all the grants.

          [JENKINS-45513] Unable to see jobs with project based security

          Jesse Glick added a comment -

          Offhand sounds like a user error; perhaps the user ID is mistyped. You can use /whoAmI to diagnose your authentication when logged in. Not sure offhand if matrix-auth offers finer-level logging to diagnose decisions.

          Jesse Glick added a comment - Offhand sounds like a user error; perhaps the user ID is mistyped. You can use /whoAmI to diagnose your authentication when logged in. Not sure offhand if matrix-auth offers finer-level logging to diagnose decisions.

          Daniel Beck added a comment -

          More information is required to understand what's going on. For now, I assume there's a problem with inconsistent user name case insensitivity (Should be fixed in matrix-auth 2.0 or newer).

          Daniel Beck added a comment - More information is required to understand what's going on. For now, I assume there's a problem with inconsistent user name case insensitivity (Should be fixed in matrix-auth 2.0 or newer).

            Unassigned Unassigned
            5imon S imon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: