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

GitHub team should be referenced by slug not name

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • github-oauth-plugin
    • None
    • 0.24
    • 0.35

      The GitHub OAuth plugin adds a user's organizations and teams as Jenkins groups when authenticating through GItHub.

      The pattern for teams is: organization.login*team.name

      Instead of team.name, Jenkins should store the group name as team.slug. Team slugs are unique per organization and are more URL path / script friendly.

      Reference: https://developer.github.com/v3/orgs/teams/#list-teams

          [JENKINS-34835] GitHub team should be referenced by slug not name

          Andy Pemberton created issue -
          Andy Pemberton made changes -
          Assignee Original: Sam Gleske [ sag47 ] New: Andy Pemberton [ apemberton ]
          Sam Gleske made changes -
          Link New: This issue is related to JENKINS-34896 [ JENKINS-34896 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171026 ] New: JNJira + In-Review [ 184133 ]
          Sam Gleske made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Sam Gleske made changes -
          Assignee Original: Andy Pemberton [ apemberton ] New: Sam Gleske [ sag47 ]
          Sam Gleske made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Released As New: 0.35
          Assignee Original: Sam Gleske [ sag47 ] New: Sam Palmer [ mancuniansam ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/github-oauth-plugin#124 (Web Link)" [ 27260 ]
          Basil Crow made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            mancuniansam Sam Palmer
            apemberton Andy Pemberton
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: