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.

Ability to restrict the options provided in profile_list per user

See original GitHub issue

Proposed change

It would be nice to have a feature to hide or show configured profiles per user.

Who would use this feature?

Anyone who doesn’t want to see all configured profiles

(Optional): Suggest a solution

It would be nice if there is a possiblility to add a whitelist to singleusers profilelist as shown below:

singleuser:
  image:
    name: jupyter/minimal-notebook
    tag: '2343e33dec46'
    pullPolicy: Always
  profileList:
    - display_name: "Minimal environment"
      description: "To avoid too much bells and whistles: Python."
      default: true
    - display_name: "Datascience environment"
      users:
        - user1
        - user2
      description: "If you want the additional bells and whistles: Python, R, and Julia."
      kubespawner_override:
        image: jupyter/datascience-notebook:2343e33dec46

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
consideRatiocommented, Oct 25, 2020

I don’t want us to implement much more features for profile_list at this point as i hope to see it consolidated into JupyterHub’s based Spawner or some other more generic Spawner.

But, if you want to dynamically provide profile_list options to users, see for example how I do that here: https://github.com/neurohackademy/nh2020-jupyterhub/blob/8bc0d8304d5090d3a1e21a038a68f0a940e31809/deployments/hub-neurohackademy-org/config/prod.yaml#L193-L269

0reactions
manicscommented, Sep 24, 2020

Is this something that could be done more generically in wrapspawner? https://github.com/jupyterhub/wrapspawner

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ability to restrict the options provided in profile_list per user #439
This is a complicated feature request for the Helm chart: The profile_list logic is defined in jupyterhub/kubespawner. jupyterhub/jupyterhub ...
Read more >
Create a Restriction Rule - Salesforce Help
If the rule applies to a subset of users such as those in a given role, profile, or department, select User Criteria. Then,...
Read more >
Create mandatory user profiles - Windows - Microsoft Learn
A mandatory user profile is a special type of pre-configured roaming user profile that administrators can use to specify settings for users.
Read more >
Roles and Registration Configuration
Configure user roles, role profiles, and registration rules. ... To restrict users' ability to view operator details: On the Manage Operator ...
Read more >
List of security profile permissions - Amazon Connect
Enables users to view real-time analytics provided by Contact Lens. ... Block agents from being able to create tasks. Audio device settings. Audio.View....
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