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

basehub: reduce hub.loadRoles and clarify the situation #4030

Merged
merged 3 commits into from
May 8, 2024

Conversation

consideRatio
Copy link
Contributor

@consideRatio consideRatio commented May 7, 2024

We had configuration under hub.loadRoles that didn't make a difference. With this PR I'm removing it and adding related comments about it for the future instead.

This comment was marked as duplicate.

Copy link
Member

@yuvipanda yuvipanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can merge once comment is addressed.

# Allow all users access to 'services', which includes dask-gateway & configurator
- access:services
- self
# hub.loadRoles is z2jh native config to enable configuration of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay that it has no effect and we can remove it.

I'd suggest we just simply fully remove it, and not actually have this large comment here. It adds additional things that must be kept up to date whenever things elsewhere change, and makes this already large file even larger. Let's just remove that?

# Considerations of updating dask-gateway to gate access via
# access:services!service=dask-gateway is considered in the linked issue.
#
# ref: https://github.com/dask/dask-gateway/issues/829
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#4014 is the right place for this and i see you've already put it there!

@consideRatio
Copy link
Contributor Author

consideRatio commented May 8, 2024

Thank you for reviewing @yuvipanda!

I've tested as non-admin on imagebuilding-demo as well which worked ok

Can merge once comment is addressed.

Merging!

@consideRatio consideRatio merged commit 56f4d76 into 2i2c-org:main May 8, 2024
38 checks passed
Copy link

github-actions bot commented May 8, 2024

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/8997821392

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants