More documentation for 3.0 role/scope changes

a few more outdated `versionchanged` notes
This commit is contained in:
Min RK
2022-08-02 13:26:54 +02:00
parent 78438bdfcc
commit 8aac18c96d
9 changed files with 97 additions and 35 deletions

View File

@@ -714,7 +714,7 @@ class APIToken(Hashed, Base):
# evaluate roles to scopes immediately
# TODO: should this be deprecated, or not?
# warnings.warn(
# "Setting roles on tokens is deprecated in JupyterHub 2.2. Use scopes.",
# "Setting roles on tokens is deprecated in JupyterHub 3.0. Use scopes.",
# DeprecationWarning,
# stacklevel=3,
# )