Skip to content

Configure & document user groups #24

@alukach

Description

@alukach

At time of writing, we must directly associate JupyterHub users with JupyterHub roles to support RBAC. Those roles are then associated with JupyterHub services (ie OAuth2 clients) to grant users authenticated access to the applications' underlying services (see JupyterHub RBAC - Roles: Defining Roles).

loadRoles:
eoapi_user:
description: Users allowed to access eoAPI
users:
- alukach
services:
- eoapi
scopes:
- access:services

This is a bit of an onerous task and won't scale well for systems with large user bases. Instead, a more elegant solution would be to grant groups access to the JupyterHub Applications. Ideally, users would then be automatically assigned to groups based on information associated with their identity as specified by the identity provider (ie GitHub, perhaps this could be based on membership of a GitHub group?) I'm admittedly not sure as to what the capabilities are for this within JupyterHub. For reference, Grafana has a nice system allowing the use of JMES expressions to assign users to groups upon login (docs).

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions