jupyterhub / jupyterhub/nativeauthenticator

Authorize Users link not showing for RBAC-authorized users

Open
#258 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
81
Forks
68
PR merge metrics
No merged PRs in 30d

Description

When a user logs in with a role allowing user administration, but is not a member of baked-in admin role, the Authorize Users link does not render. Going to the Authorization Area page directly works though.

It looks like the navigation bar extension template has a condition to check that user is admin instead of validating oAuth scopes. See below:
https://github.com/jupyterhub/nativeauthenticator/blob/d1eb08652041bfcc1fce6ff55470a5b2dd089d3d/nativeauthenticator/templates/page.html#L6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.