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

Child teams should inherit rights granted to parent group

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      On GitHub (Enterprise), our organization has a number of teams. Some teams include both members and teams.

      Suppose we have member personX, who is part of team teamA, and member personY.

      Both teamA and personY are to receive access to start builds on Jenkins so they are added to the builders team as teamA and personY.

      Build permission is granted to the organization*builders entity.

      PersonY can start builds, but personX cannot, despite being recognized by GitHub Enterprise as inheriting access to the builders team.

      Requested improvement would be to provide child teams the expected inherited access.

        Attachments

          Activity

          Hide
          dindurthy Dharma Indurthy added a comment -

          If it helps, <jenkins_url>/whoAmI isn't returning parent teams, only the teams a user is explicitly tied to. Looking at the github api, it appears parents are described as keys within each linked users team, e.g.

          curl https://api.github.com/user/teams --> [\{name: child-team, parent: {name: parent-team}}]

          Show
          dindurthy Dharma Indurthy added a comment - If it helps, <jenkins_url>/whoAmI isn't returning parent teams, only the teams a user is explicitly tied to. Looking at the github api, it appears parents are described as keys within each linked users team, e.g. curl https://api.github.com/user/teams  --> [\{name: child-team, parent: {name: parent-team}}]

            People

            Assignee:
            sag47 Sam Gleske
            Reporter:
            cloverbt Clover BT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: