Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Keycloak not showing scopes for some default roles #2716

Open
marcelovilla opened this issue Sep 10, 2024 · 1 comment
Open

[BUG] - Keycloak not showing scopes for some default roles #2716

marcelovilla opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels

Comments

@marcelovilla
Copy link
Member

Describe the bug

When navigating to different Keycloak roles, I don't see a list of their scopes on some of the. For example, here are the attributes for the conda_store_developer role in the conda_store client, not showing any of the scopes it includes:
image

On the other hand, here are the attributes for the allow-read-access-to-services role in the jupyterhub client, showing the scopes it includes:
image

Expected behavior

I'd like to see all scopes that are included by default for any given role that was created when deploying Nebari

OS and architecture in which you are running Nebari

Not relevant

How to Reproduce the problem?

See bug description

Command output

No response

Versions and dependencies used.

No response

Compute environment

None

Integrations

No response

Anything else?

No response

@kcpevey
Copy link
Contributor

kcpevey commented Sep 10, 2024

For conda-store in particular, I came across this last week when I was trying to modify conda-store permissions for a user (copied from internal communication):

Me:
there is some magic happening behind the scenes somewhere that I cant see. Somehow users get "read" access to the environments in their namespace (aka conda store "developer" scope) by default. I can't tell where that's coming from. It seems like that might be the appropriate setting to modify instead of creating an all new role.

Vini:
that might be coming from here https://github.com/nebari-dev/nebari/blob/develop/src/_nebari/stages/kubernetes_se[…]es/kubernetes/services/conda-store/config/conda_store_config.py its where the main parsing happens for the roles/groups coming from keycloak to conda-store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: New 🚦
Development

No branches or pull requests

2 participants