2i2c-org / features

Temporary location for feature requests sent to 2i2c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[LEAP] GitHub sub-groups don't appear as part of parent groups for the purposes of Hub access #11

Open rabernat opened 2 years ago

rabernat commented 2 years ago

Context

In the following issues, we discussed the implementation of restricting access to resources based on github groups

This is an example of a profile-list configuration for LEAP

https://github.com/2i2c-org/infrastructure/blob/8ce956253bb1bbc4dd633630cb68b76d753bc569/config/clusters/leap/common.values.yaml#L87-L92

The group leap-stc:leap-pangeo-education is given access to this profile.

Problem

In the LEAP Manual I said the following

Anyone participating in a LEAP-sponsored research project is eligible to participate in the Research Category. A LEAP administrator will create a GitHub sub-team within the leap-pangeo-research team for each research project and add the project PIs as “maintainer”. It is the PIs’ responsibility to add and remove members from their team.

However, we have found that sub-teams do not automatically get added to the parent team. As a specific example, I created the momentum-fellows team as a sub-team of leap-pangeo-research and added @yuvipanda to it. As you can see, he does not automatically get added to leap-pangeo-research, and whatever logic the spawner is using does not recognize him as belonging to this group. So my instructions don't currently work.

Proposal

There are two potential solutions:

Updates and actions

No response

yuvipanda commented 2 years ago

@rabernat i'd say let's temporarily codify solution (1) and we can prioritize and investigate (2) during our next sprint meeting

damianavila commented 10 months ago

Reviewed and we think we can close it by now after checking the source.

After re-reading I think this one is actually capturing the following request:

So re-opening with that updated interpretation.