Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove feature for restricting profile options based on github org membership #4022

Merged
merged 3 commits into from
May 7, 2024

Conversation

yuvipanda
Copy link
Member

@yuvipanda yuvipanda commented May 2, 2024

This gets rid of restricting profile options based on github org membership, rather than teams membership. This is a complete no-op for any of our communities, as it turns out nobody is using this feature! Getting rid of this makes sure that new communities will not use this feature, as it relies on internal implementation details of the GitHub authenticator and may be hard to upstream when the time comes. See #4021 for upstreaming plan.

Ref #3900
#3883 is based on this.

This gets rid of restricting profile options based on github *org*
membership, rather than *teams* membership. This is a complete no-op
for any of our communities, as it turns out nobody is using this feature!
Getting rid of this makes sure that new communities will not use this
feature, as it relies on internal implementation details of the
GitHub authenticator and may be hard to upstream when the time
comes. See 2i2c-org#4021
for upstreaming plan.
Copy link

github-actions bot commented May 2, 2024

Merging this PR will trigger the following deployment actions.

Support and Staging deployments

Cloud Provider Cluster Name Upgrade Support? Reason for Support Redeploy Upgrade Staging? Reason for Staging Redeploy
aws nasa-veda No Yes Core infrastructure has been modified
gcp catalystproject-latam No Yes Core infrastructure has been modified
aws kitware No Yes Core infrastructure has been modified
gcp meom-ige No Yes Core infrastructure has been modified
gcp leap No Yes Core infrastructure has been modified
aws linc No Yes Core infrastructure has been modified
aws 2i2c-aws-us No Yes Core infrastructure has been modified
gcp linked-earth No Yes Core infrastructure has been modified
aws nasa-esdis No Yes Core infrastructure has been modified
aws nasa-ghg No Yes Core infrastructure has been modified
aws jupyter-meets-the-earth No Yes Core infrastructure has been modified
aws ubc-eoas No Yes Core infrastructure has been modified
aws earthscope No Yes Core infrastructure has been modified
gcp pangeo-hubs No Yes Core infrastructure has been modified
aws catalystproject-africa No Yes Core infrastructure has been modified
aws openscapes No Yes Core infrastructure has been modified
gcp hhmi No Yes Core infrastructure has been modified
gcp cloudbank No Yes Core infrastructure has been modified
aws jupyter-health No Yes Core infrastructure has been modified
aws gridsst No Yes Core infrastructure has been modified
gcp 2i2c No Yes Core infrastructure has been modified
kubeconfig utoronto No Yes Core infrastructure has been modified
gcp qcl No Yes Core infrastructure has been modified
aws bican No Yes Core infrastructure has been modified
aws victor No Yes Core infrastructure has been modified
aws nasa-cryo No Yes Core infrastructure has been modified
aws smithsonian No Yes Core infrastructure has been modified
aws dandi No Yes Core infrastructure has been modified
aws opensci No Yes Core infrastructure has been modified
gcp awi-ciroh No Yes Core infrastructure has been modified
gcp 2i2c-uk No Yes Core infrastructure has been modified

Production deployments

Cloud Provider Cluster Name Hub Name Reason for Redeploy
aws nasa-veda prod Core infrastructure has been modified
gcp catalystproject-latam unitefa-conicet Core infrastructure has been modified
gcp catalystproject-latam cicada Core infrastructure has been modified
gcp catalystproject-latam gita Core infrastructure has been modified
gcp catalystproject-latam iner Core infrastructure has been modified
gcp catalystproject-latam plnc Core infrastructure has been modified
gcp catalystproject-latam unam Core infrastructure has been modified
gcp catalystproject-latam uprrp Core infrastructure has been modified
aws kitware prod Core infrastructure has been modified
gcp meom-ige prod Core infrastructure has been modified
gcp leap prod Core infrastructure has been modified
aws linc prod Core infrastructure has been modified
aws 2i2c-aws-us showcase Core infrastructure has been modified
aws 2i2c-aws-us ncar-cisl Core infrastructure has been modified
aws 2i2c-aws-us go-bgc Core infrastructure has been modified
aws 2i2c-aws-us itcoocean Core infrastructure has been modified
aws 2i2c-aws-us cosmicds Core infrastructure has been modified
gcp linked-earth prod Core infrastructure has been modified
aws nasa-esdis prod Core infrastructure has been modified
aws nasa-ghg prod Core infrastructure has been modified
aws jupyter-meets-the-earth prod Core infrastructure has been modified
aws ubc-eoas prod Core infrastructure has been modified
aws earthscope prod Core infrastructure has been modified
gcp pangeo-hubs prod Core infrastructure has been modified
gcp pangeo-hubs coessing Core infrastructure has been modified
aws catalystproject-africa nm-aist Core infrastructure has been modified
aws catalystproject-africa must Core infrastructure has been modified
aws catalystproject-africa uvri Core infrastructure has been modified
aws catalystproject-africa wits Core infrastructure has been modified
aws catalystproject-africa kush Core infrastructure has been modified
aws catalystproject-africa molerhealth Core infrastructure has been modified
aws catalystproject-africa aibst Core infrastructure has been modified
aws catalystproject-africa bhki Core infrastructure has been modified
aws catalystproject-africa bon Core infrastructure has been modified
aws openscapes prod Core infrastructure has been modified
gcp hhmi prod Core infrastructure has been modified
gcp hhmi spyglass Core infrastructure has been modified
gcp cloudbank bcc Core infrastructure has been modified
gcp cloudbank ccsf Core infrastructure has been modified
gcp cloudbank csm Core infrastructure has been modified
gcp cloudbank dvc Core infrastructure has been modified
gcp cloudbank elcamino Core infrastructure has been modified
gcp cloudbank evc Core infrastructure has been modified
gcp cloudbank glendale Core infrastructure has been modified
gcp cloudbank howard Core infrastructure has been modified
gcp cloudbank miracosta Core infrastructure has been modified
gcp cloudbank skyline Core infrastructure has been modified
gcp cloudbank demo Core infrastructure has been modified
gcp cloudbank fresno Core infrastructure has been modified
gcp cloudbank humboldt Core infrastructure has been modified
gcp cloudbank laney Core infrastructure has been modified
gcp cloudbank sbcc Core infrastructure has been modified
gcp cloudbank sbcc-dev Core infrastructure has been modified
gcp cloudbank elac Core infrastructure has been modified
gcp cloudbank lacc Core infrastructure has been modified
gcp cloudbank lamission Core infrastructure has been modified
gcp cloudbank mills Core infrastructure has been modified
gcp cloudbank mission Core infrastructure has been modified
gcp cloudbank norco Core infrastructure has been modified
gcp cloudbank palomar Core infrastructure has been modified
gcp cloudbank pasadena Core infrastructure has been modified
gcp cloudbank sjcc Core infrastructure has been modified
gcp cloudbank sacramento Core infrastructure has been modified
gcp cloudbank srjc Core infrastructure has been modified
gcp cloudbank saddleback Core infrastructure has been modified
gcp cloudbank santiago Core infrastructure has been modified
gcp cloudbank sjsu Core infrastructure has been modified
gcp cloudbank sierra Core infrastructure has been modified
gcp cloudbank tuskegee Core infrastructure has been modified
gcp cloudbank wlac Core infrastructure has been modified
gcp cloudbank csulb Core infrastructure has been modified
gcp cloudbank csum Core infrastructure has been modified
aws jupyter-health prod Core infrastructure has been modified
aws gridsst prod Core infrastructure has been modified
gcp 2i2c imagebuilding-demo Core infrastructure has been modified
gcp 2i2c demo Core infrastructure has been modified
gcp 2i2c ohw Core infrastructure has been modified
gcp 2i2c aup Core infrastructure has been modified
gcp 2i2c temple Core infrastructure has been modified
gcp 2i2c ucmerced Core infrastructure has been modified
gcp 2i2c climatematch Core infrastructure has been modified
gcp 2i2c mtu Core infrastructure has been modified
gcp 2i2c tufts Core infrastructure has been modified
kubeconfig utoronto prod Core infrastructure has been modified
kubeconfig utoronto r-prod Core infrastructure has been modified
gcp qcl prod Core infrastructure has been modified
aws bican prod Core infrastructure has been modified
aws victor prod Core infrastructure has been modified
aws nasa-cryo prod Core infrastructure has been modified
aws smithsonian prod Core infrastructure has been modified
aws dandi prod Core infrastructure has been modified
aws opensci sciencecore Core infrastructure has been modified
gcp awi-ciroh prod Core infrastructure has been modified
gcp 2i2c-uk lis Core infrastructure has been modified

@yuvipanda yuvipanda changed the title Support restricting profile options with github teams *only* Remove feature for restricting profile options based on github org membership May 3, 2024
@yuvipanda yuvipanda requested a review from sgibson91 May 3, 2024 03:39
@yuvipanda yuvipanda marked this pull request as ready for review May 3, 2024 04:15
@yuvipanda yuvipanda requested review from GeorgianaElena and removed request for sgibson91 May 7, 2024 04:48
Copy link
Member

@GeorgianaElena GeorgianaElena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yuvipanda 🚀

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are a couple more places where this file needs changes like:

  • the title, as it mentions organization based access (or keep the tile, but add a warning right below it as it is not longer supported)
  • point 4 that says **Edit the non-secret config under config/clusters/<cluster_name>/<hub_name>.values.yaml.** has a scopes example specific to orgnanizations (line 72 to line 90)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch @GeorgianaElena! I cleaned that out and removed a bunch of options there as well, as we have nowhere we use read:user at all - it's read:org everywhere. Let's just standardize to that.

@yuvipanda yuvipanda merged commit d339a89 into 2i2c-org:main May 7, 2024
39 checks passed
Copy link

github-actions bot commented May 7, 2024

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/8989677663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants