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

tests and fixes in tljh-config #89

Merged
merged 1 commit into from Jul 31, 2018
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Jul 31, 2018

  • add remove-item to cli
  • fix setting non-string values (int, bool, float)
  • show help when no action is given
  • test coverage for cli

- add remove-item to cli
- fix setting non-string values (int, bool, float)
- show help when no action is given
- test coverage for cli
@yuvipanda yuvipanda merged commit 505c764 into jupyterhub:master Jul 31, 2018
@yuvipanda
Copy link
Collaborator

Awesome, thanks @minrk!!!

@chmendoza
Copy link

Hi there!

I am trying to use this to delete a user from cli:

sudo tljh-config remove-item users.admin mendoza
sudo tljh-config reload

after I do that, this is the content of /opt/tljh/config/config.yaml:

users:
  admin: []

However, I can still log as mendoza. In addition, there are other users that I created through the web interface that are not showing up on the config.yaml file. See this screenshot (after executing the above commands):

image

BTW, I am deleting the user to then creating it again, as a workaround to reset the password :)

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.

None yet

3 participants