mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
Upgraded to log warning, resolved comment
This commit is contained in:
@@ -1890,7 +1890,7 @@ class JupyterHub(Application):
|
|||||||
# make sure that on no admin situation, all roles are reset
|
# make sure that on no admin situation, all roles are reset
|
||||||
admin_role = orm.Role.find(db, name='admin')
|
admin_role = orm.Role.find(db, name='admin')
|
||||||
if not admin_role.users:
|
if not admin_role.users:
|
||||||
app_log.info(
|
app_log.warning(
|
||||||
"No admin users found; assuming hub upgrade. Initializing default roles for all entities"
|
"No admin users found; assuming hub upgrade. Initializing default roles for all entities"
|
||||||
)
|
)
|
||||||
# make sure all users, services and tokens have at least one role (update with default)
|
# make sure all users, services and tokens have at least one role (update with default)
|
||||||
|
Reference in New Issue
Block a user