Skip to content

Commit

Permalink
Default to allowa_all True
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgianaElena committed Jan 16, 2025
1 parent 205ba14 commit 6ad8086
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tmpauthenticator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ def _auto_login_default(self):
"""
return True

@default("allow_all")
def _allow_all_default(self):
"""
If no allow config is specified, then by default nobody will have access.
Prior to JupyterHub 5.0, the opposite was true.
Setting allow_all to True to preserve expected behavior of allowing
everyone to access the hub in a JupyterHub 5.0 setup.
"""
return True

login_service = Unicode(
"Automatic Temporary Credentials",
help="""
Expand Down

0 comments on commit 6ad8086

Please sign in to comment.