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.