... is not a valid Jupyterhub user

I have installed the jupyterhub with the helm chart and made some customizations to the values file.
I have created multiple user groups and each group has an admin with the following scopes of permissions (example):

user-group1-admin:
description: admin for the user-group1 users
scopes:
- ‘admin:users!group=user-group1’
- ‘admin:groups!group=user-group1’
- ‘admin-ui’
users:
- user-1

When I login as user-1 I am able to access the manage group panel and view the user-group1, but whenever I try to add a user to this group I get the following error:

     'username' is not a valid JupyterHub user.

Now, if I try to add this user to this group with general admin permission it works.
What permissions am I missing here?

If they are not already in user-group-1, the scope read:users:name is the minimal scope required to be able to lookup any user by name, which is needed to add them to the group.

1 Like