-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cloudbank, demo: limit access to the admin users for now
- Loading branch information
1 parent
8118d4d
commit 11902ff
Showing
1 changed file
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,21 +42,17 @@ jupyterhub: | |
http://google.com/accounts/o8/id: | ||
username_derivation: | ||
username_claim: "email" | ||
# allow_all is a partial authorization for this hub because | ||
# username_pattern configured and enforced also, allowing only users | ||
# with *.edu suffixed domains besides specific admin users. | ||
allow_all: true | ||
Authenticator: | ||
admin_users: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
# We only want 2i2c users and users with .edu emails to sign up | ||
# Protects against cryptominers - https://github.com/2i2c-org/infrastructure/issues/1216 | ||
# FIXME: This doesn't account for educational institutions that have emails that don't end in .edu, | ||
# as is the case for some non-euroamerican universities. | ||
username_pattern: '^(.+@2i2c\.org|.+\.edu|kalkeab@gmail\.com|jhenryestrada@gmail\.com|deployment-service-check)$' | ||
# NOTE: This demo hub may be temporarily opened up for broad access by | ||
# declaring `allow_all: true` for the google idp. If that is done, | ||
# username_pattern can then be used to constrain access. | ||
# | ||
# username_pattern: '^(.+@2i2c\.org|.+\.edu|kalkeab@gmail\.com|jhenryestrada@gmail\.com|deployment-service-check)$' | ||
cull: | ||
# Cull after 30min of inactivity | ||
every: 300 | ||
|