question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Userlist must be known a priori

See original GitHub issue

When using the deployment for a workshop, tutorial, etc, the userlist is not necessarily known beforehand. It is preferred to not require a whitelist of users.

In the past, I also tried tmpnb. The problem that occurs in this case is that users will go to the site many times, hit refresh repeatedly, try to reconnect after loosing their connection on poor or Wifi or coming back from a break, etc. Since their session is not re-used, a new container is launched each time, which quickly consumes compute resources.

CC: @willingc @minrk

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
thewtexcommented, Sep 19, 2016

+1, Thanks @willingc, @parente, @rgbkrk !

1reaction
parentecommented, Sep 19, 2016

This would be nice, but I did not test it or see it in the docs.

The empty whitelist doc appears on the traitlet which means it should appear when you run jupyterhub --help-all. Here it is in source:

https://github.com/jupyterhub/jupyterhub/blob/f1bdf6247abe3f41d571ea94116cf64ec7ed45df/jupyterhub/auth.py#L42

However, there would not be an admin user in this case?

You can still define admin users. You just have to know what their usernames will be when they authenticate for the first time. For example, I can deploy Jupyter Hub with:

  1. GitHub OAuth
  2. an empty whitelist
  3. parente in the admin list

to get an instance where anyone with a GitHub account can log in, but only GitHub user parente has admin capabilities on the Hub.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Priori and A Posteriori | Internet Encyclopedia of Philosophy
A given proposition is knowable a priori if it can be known independent of any experience other than the experience of learning the...
Read more >
Chapter-7 Memory Management Flashcards - Quizlet
Compile time: If memory location known a priori, absolute code can be generated; ... images for all users; must provide direct access to...
Read more >
Chapter 8 Flashcards | Chegg.com
-if memory location known a priori, absolute code can be generated; must recompile code if starting location changes. Load Time. -Must generate relocatable ......
Read more >
What are some strong arguments that argue that apriori ...
Most philosophers historically have considered that mathematical knowledge is a priori, because we don't have to test mathematical propositions ...
Read more >
memory management - 59.305 Course Notes
Compile time: If memory location known a priori, absolute code can be generated; must recompile code if starting location changes. Load time: Must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found