Skip to content

Commit dd55e98

Browse files
authored
Merge pull request #69 from GeorgianaElena/allow_all
Default to `allow_all` True
2 parents c24fa65 + 6ad8086 commit dd55e98

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tmpauthenticator/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,17 @@ def _auto_login_default(self):
8181
"""
8282
return True
8383

84+
@default("allow_all")
85+
def _allow_all_default(self):
86+
"""
87+
If no allow config is specified, then by default nobody will have access.
88+
Prior to JupyterHub 5.0, the opposite was true.
89+
90+
Setting allow_all to True to preserve expected behavior of allowing
91+
everyone to access the hub in a JupyterHub 5.0 setup.
92+
"""
93+
return True
94+
8495
login_service = Unicode(
8596
"Automatic Temporary Credentials",
8697
help="""

0 commit comments

Comments
 (0)