bioinfo-ucsd / .github

Files for the @bioinfo-ucsd GitHub organization
MIT License
2 stars 0 forks source link

create system for requesting membership #6

Open aryarm opened 2 years ago

aryarm commented 2 years ago

and describe how to access the form somewhere

aryarm commented 2 years ago

the form should have a whitelist for emails from BISB/BMI and should require that you sign in with your UCSD email

a script should automatically add membership for those in the whitelist

aryarm commented 2 years ago

ok, so new update:

I didn't like the idea of the google form for a few reasons

  1. It would require us to maintain a whitelist
  2. It would allow people on the whitelist to invite any Github handle they want - regardless of whether it was them

Solutions:

  1. Just check that they are part of the BISB/BMI Google Group, instead. We can do this via APIs.
  2. Require that they authenticate with us via Github sign-in

But we can't implement either of those solutions via Google Forms and Google Apps Script. They're just not properly set up for that. So instead, I created a free Firebase web app! Here it is:

https://github.com/bioinfo-ucsd/auth

@mikecuoco , check out my current work on the wip/send-invite branch! https://github.com/bioinfo-ucsd/auth/tree/wip/send-invite

aryarm commented 2 years ago

just an fyi that it isn't really set up to do any of the things I claim it does, yet

I still need to allow it to invite people to the Github org and write code to properly handle the results of the Google and Github auths. It also doesn't actually do any of the Google Groups checking yet.