Update roles.md for rbac docs with role creation/deletion and assignment changes

This commit is contained in:
IvanaH8
2021-06-18 12:28:30 +02:00
parent 12ffc42114
commit a137134d3a
2 changed files with 16 additions and 17 deletions

View File

@@ -14,6 +14,8 @@ Roles' and scopes' utilities can be found in `roles.py` and `scopes.py` modules.
Roles and scopes are resolved on several occasions, for example when requesting an API token with specific roles or making an API request. The following sections provide more details.
(requesting-api-token-target)=
### Requesting API token with specific roles
API tokens grant access to JupyterHub's APIs. The RBAC framework allows for requesting tokens with specific existing roles. To date, it is only possible to add roles to a token in two ways: