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

Allow-list for server extensions? #1445

Open
krassowski opened this issue Jul 26, 2024 · 1 comment
Open

Allow-list for server extensions? #1445

krassowski opened this issue Jul 26, 2024 · 1 comment

Comments

@krassowski
Copy link
Collaborator

Problem

I would like to run a simple jupyter-server with a single extension and enforce that no other extensions are picked up. This does not appear to be currently possible.

--ServerApp.jpserver_extensions allows to toggle off individual extensions if these are known, but there is no way to disable all and only enable select few.

Proposed Solution

Maybe --ServerApp.jpserver_extensions_allow_list which takes precedence over --ServerApp.jpserver_extensions?

Additional context

JupyterLab has an allow list and a block list for frontend extensions.

@krassowski
Copy link
Collaborator Author

I guess the closest thing to this is load_other_extensions in ExtensionApp. My problem right now is that this does not play nicely with JupyterHub which requires a ServerApp

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

No branches or pull requests

1 participant