I hope to be able to dynamically configure load_roles in jupyterhub through api

api doc: JupyterHub REST API — JupyterHub documentation

I am very grateful to this awesome project and every staff member in it. I am developing a jupyterhub for team collaboration, but I have a confusion. I hope to be able to dynamically configure load_roles in jupyterhub through the interface to dynamically control access between users. Permissions, but in the api document I only found the creation of groups, but not the creation of roles, or updating the relationship between loaded roles. Am I misunderstanding the use of the function? Now I can only hardcode it in the configuration file. Can you give me some inspiration or a hack to solve this problem?

Thanks again for your patience in reading my reply. I learned that RBAC is still under development Technical Implementation — JupyterHub documentation, so I dug into the database and found that the roles table is related to this configuration. I also know that the current API already has the ability to create user groups and assign users to groups. Will it satisfy my need to dynamically control user permissions as long as I write an interface that can dynamically create/modify group roles?Please remind me if there is anything missing, thank you very much

Seems to work~~now i will find a elegent way to add this api