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

GitHub Teams with names more than one word deny access to GitHub Users

XMLWordPrintable

      INFORMATION:

      Global Security Authorization: Matrix Based Security

      GitHub Company Name: Galaxy (Fictional Name)

      GitHub Team Name (1): Detoo

      GitHub Team Slug (1): detoo

      GitHub Team Name (2): Automation Team

      GitHub Team Slug (2): automation-team

       

      ISSUE:

      Adding a team with hyphens like GitHub Team Slug (2) to the Matrix Based Security table creates an access is denied issue.

      Adding a team with a single word like GitHub Team Slug (1) successfully allows users to logon.

      This issue can be replicated by creating a new team with two words, adding to the matrix table, confirming the access is denied.

       

      WORKAROUND:

      Renaming the team to one word, re-adding the newly renamed team (or the GitHub Slug Team (1)), and confirming the access is successful.

       

      STEPS TO REPLICATE/WORKAROUND ISSUE:

      1. Browse to https:// {JENKINS_HOST}/configureSecurity
      2. Scroll down to Authorization and select the radio button: Matrix Based Security
      3. Select button: "Add user or group..."
      4. In the "User or group name" field type: Galaxy*automation-team
      5. Confirm the group icon doesn't show a red x indicating it recognizes the team
      6. Select check box "Administer" for the newly added group
      7. Select Apply
      8. Browse to https:// {JENKINS_HOST} with a user from the "Automation Team"
      9. Confirm "Access is Denied"
      10. In GitHub, browse to https://github.com/orgs/Galaxy/teams/automation-team/edit
      11. Change Team Name to one word like "automation"
      12. Repeat steps 1-8 using the new team: Galaxy*automation
      13. Confirm user is successfully able to logon

            sag47 Sam Gleske
            bc_devops_jenkins B
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: