[JIRA] [github-oauth-plugin] (JENKINS-34835) GitHub team should be referenced by slug not name

4 views
Skip to first unread message

pembertona@gmail.com (JIRA)

unread,
May 14, 2016, 8:31:04 PM5/14/16
to jenkinsc...@googlegroups.com
Andy Pemberton created an issue
 
Jenkins / Improvement JENKINS-34835
GitHub team should be referenced by slug not name
Issue Type: Improvement Improvement
Assignee: Sam Gleske
Components: github-oauth-plugin
Created: 2016/May/15 12:30 AM
Environment: 0.24
Priority: Major Major
Reporter: Andy Pemberton

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

pembertona@gmail.com (JIRA)

unread,
May 14, 2016, 8:31:04 PM5/14/16
to jenkinsc...@googlegroups.com
Andy Pemberton assigned an issue to Andy Pemberton
Change By: Andy Pemberton
Assignee: Sam Gleske Andy Pemberton

sam.mxracer@gmail.com (JIRA)

unread,
Dec 5, 2016, 5:47:02 PM12/5/16
to jenkinsc...@googlegroups.com
Sam Gleske commented on Improvement JENKINS-34835
 
Re: GitHub team should be referenced by slug not name

Andy, have you had a chance to look at this further?

This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

pembertona@gmail.com (JIRA)

unread,
Dec 6, 2016, 9:54:01 AM12/6/16
to jenkinsc...@googlegroups.com

Hey Sam Gleske: I haven't, though it does appear the required PR was merged in the github-api project: https://github.com/kohsuke/github-api/pull/281, so should be an easy fix from here.

sam.mxracer@gmail.com (JIRA)

unread,
Aug 5, 2019, 10:47:02 PM8/5/19
to jenkinsc...@googlegroups.com
Sam Gleske assigned an issue to Sam Gleske
 
Jenkins / Bug JENKINS-34835
Change By: Sam Gleske
Assignee: Andy Pemberton Sam Gleske
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sam.mxracer@gmail.com (JIRA)

unread,
Aug 5, 2019, 10:51:05 PM8/5/19
to jenkinsc...@googlegroups.com
Sam Gleske started work on Bug JENKINS-34835
 
Change By: Sam Gleske
Status: Open In Progress

sam.mxracer@gmail.com (JIRA)

unread,
Aug 5, 2019, 10:51:06 PM8/5/19
to jenkinsc...@googlegroups.com

sam.mxracer@gmail.com (JIRA)

unread,
Aug 6, 2019, 12:02:02 AM8/6/19
to jenkinsc...@googlegroups.com

Visiting localhost whoAmI page on test Jenkins instance revealed that https://github.com/jenkinsci/github-oauth-plugin/pull/116 was only a partial solution. It's not the full solution so the issue isn't fixed.

Reply all
Reply to author
Forward
0 new messages