CircleCI Ideas

Allow security control in Contexts to work with subteams

We have a team defined in GitHub and under that we have two subteams. Users are added to the subteams.

We tried adding the parent team to a context but we are getting an unauthorized error.


The issue happens if the user is in a subteam but not directly in the parent team.

If I also add the developer to parent team then it works.

I was trying to avoid adding subteams directly to the context, because we have a lot of them.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Oct 24 2019
  • New
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 26, 2019 01:07

    This is how it has worked in Github since mid 2017

    This is considered unexpected behavior, causing confusion in our org because it behaves differently than permissions for everything in GitHub, even though it is using a GitHub concept and data

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    November 25, 2019 22:22

    I can't believe this isn't a thing