-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cross-user operation - umbrella issue #171
Comments
And earlier, from me:
|
To summarise the above brain dump into some rough pathway:
|
Update:
Tagged against 0.6.0. |
cross-user access with two (real) user accounts:[Update: this is while running the hub as root] I have to be a [Jupyter Hub] admin user in order to spawn a UIS on another user's account:
Otherwise I can connect to an existing UIS, but I can't spawn one. Further, even as an admin user I have to add the target user to the list of allowed users via the hub admin interface, or config This suggests we might not be able to use vanilla JupyterHub for cross-user access, unless we configure all users to be admins. (That might be OK in our context, but it doesn't sound good, and it would allow users to see a list of other user's servers and kill them as well as spawn them). |
I think this as expected? To achieve the holy grail of being able to spawn another user's UIS (when you don't have permissions to do so manually) you may need to run the hub as a privileged account / use something like the sudo spawner. There is ongoing work in JupyterHub to introduce authorisation which may helps us. I think JupyterHub services may be an option too. I think services run as the hub user, there's an example service which culls idle servers, that approach could be used to keep them active too. Will come back to this, we should be able to find a workable solution without having to modify JupyterHub. |
Sorry, forgot to mention I was running the hub as root. (And, "admin user" is an additional Jupyter thing). |
Ok, this might be one for the Jupyter discourse. |
With the Jupyter Server migration complete and the new authorisation framework in place this issue is mostly done. Bumping the remainder of this issue into: |
(And related topics, such as how UI Servers behave when not looked at, etc.). See also:
This is to record an @oliver-sanders "brain dump" on the topic, in response to questions from @jarich, from Element chat, as that seems to be the current best record of earlier discussions (primarily the Feb 2020 workshop). To be refined and replaced by more focused Issues as we go...
The text was updated successfully, but these errors were encountered: