mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
clarify some allow docs per review
This commit is contained in:
@@ -130,7 +130,8 @@ By default, only the deprecated `admin` role has global `access` permissions.
|
|||||||
## Add or remove users from the Hub
|
## Add or remove users from the Hub
|
||||||
|
|
||||||
:::{versionadded} 5.0
|
:::{versionadded} 5.0
|
||||||
`c.Authenticator.allow_existing_users` is added in 5.0 and enabled by default.
|
`c.Authenticator.allow_existing_users` is added in 5.0 and True by default _if_ any `allowed_users` are specified.
|
||||||
|
|
||||||
Prior to 5.0, this behavior was not optional.
|
Prior to 5.0, this behavior was not optional.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
@@ -166,7 +166,8 @@ class Authenticator(LoggingConfigurable):
|
|||||||
self.log.warning(
|
self.log.warning(
|
||||||
"No allow config found, it's possible that nobody can login to your Hub!\n"
|
"No allow config found, it's possible that nobody can login to your Hub!\n"
|
||||||
"You can set `c.Authenticator.allow_all = True` to allow any user who can login to access the Hub,\n"
|
"You can set `c.Authenticator.allow_all = True` to allow any user who can login to access the Hub,\n"
|
||||||
"or e.g. `allowed_users` to a set of users who should have access."
|
"or e.g. `allowed_users` to a set of users who should have access.\n"
|
||||||
|
"You may suppress this warning by setting c.Authenticator.any_allow_config = True."
|
||||||
)
|
)
|
||||||
|
|
||||||
whitelist = Set(
|
whitelist = Set(
|
||||||
|
Reference in New Issue
Block a user