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

Build 7 new jupyterhubs for departmental use #46

Open
2 of 3 tasks
phaustin opened this issue Sep 24, 2020 · 10 comments
Open
2 of 3 tasks

Build 7 new jupyterhubs for departmental use #46

phaustin opened this issue Sep 24, 2020 · 10 comments
Assignees

Comments

@phaustin
Copy link
Contributor

phaustin commented Sep 24, 2020

  • dns for EOAS01, 03,04,05 in UDC
  • nginx/letsencrypt/github oauth for eoas05
  • EOAS06, 07, 08 in M235
@CharlesKrzysik
Copy link

CharlesKrzysik commented Sep 24, 2020 via email

@slemonide
Copy link

nginx/letsencrypt/github oauth for eoas05

Done. Whitelists are not configured though.

URL: https://eoas05.eoas.ubc.ca/
Setup: https://github.com/slemonide/jupyterhub_basics/tree/master/examples/github-oauth

@phaustin
Copy link
Contributor Author

that's great, thanks -- here's the access list to start:

AndrewLoeppky
arooj-sd
bkchang-97
cerodell
CharlesKrzysik
fhmjones
hari-ushankar
henryk-modzelewski
jcapriot
lheagy
phaustin
rbeckie
slemonide
tivanoch

@slemonide
Copy link

slemonide commented Sep 27, 2020

I made it so that to give access to a person, you need to add them to a github organization https://github.com/eoas-ubc-github-shared and set their membership publicly visible. Is that ok?

@phaustin
Copy link
Contributor Author

yes, that will work

@slemonide
Copy link

Hmm, it appears that membership visibility for a user can only be modified by that user.

image

@phaustin
Copy link
Contributor Author

fixed

@slemonide
Copy link

I am not sure if that's really that convenient since you'd have to ask everyone you want to give access to to make their membership public.

And Github oauthenticator can only check public memberships at the moment.

Alternative is to just write the names in the config.

@phaustin
Copy link
Contributor Author

ok - can you just set it up so it configures the access list from a yaml/toml file that contains the usernames in
#46 (comment)

@slemonide
Copy link

Done. You just have to enter the names in the userlist file: https://github.com/slemonide/jupyterhub_basics/blob/master/examples/github-oauth-users-limit/hub_image/userlist.dist (this is an example file, you have to copy userlist.dist to userlist for it actually to work). You can also specify users with admin privileges by adding admin after their name.

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

No branches or pull requests

4 participants