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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          bc_devops_jenkins B added a comment -

          Sam Gleske, Please let me know what additional information is necessary to begin working on this issue and I will gladly oblige.

          Show
          bc_devops_jenkins B added a comment - Sam Gleske , Please let me know what additional information is necessary to begin working on this issue and I will gladly oblige.

            People

            Assignee:
            sag47 Sam Gleske
            Reporter:
            bc_devops_jenkins B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: