suggest roles instead of admin_users

and make admin link permission check match admin page

it would be nice if this could be consolidated (maybe an `admin:ui` permission?)
This commit is contained in:
Min RK
2021-09-16 11:55:20 +02:00
parent 12ab53fb37
commit 5f19989467
8 changed files with 37 additions and 10 deletions

View File

@@ -18,6 +18,13 @@ started.
## Configure admins (`admin_users`)
```{note}
As of JupyterHub 2.0, the full permissions of `admin_users`
should not be required.
Instead, you can assign [roles][] to users or groups
with only the scopes they require.
```
Admin users of JupyterHub, `admin_users`, can add and remove users from
the user `allowed_users` set. `admin_users` can take actions on other users'
behalf, such as stopping and restarting their servers.