-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: simplified user administration #20
base: sqlite
Are you sure you want to change the base?
Conversation
Can we make user administration as simple as below?
The script for user administration shall be called Tell the admin to put the CSV file in a safe place. |
I think I've simplified this far, except for not renaming the file. I added the documentation for the new script in the Readme. Or am I not understanding what you are saying? |
For all actions other than creating a new user, there should be a one-to-one correspondence between the CSV and the SQLite DB. Thus, the content in CSV shall be the same as the content in the SQLite DB. As an example, to delete a user, simply remove the row in the CSV file corresponding to that row and import (called "apply" here) to the SQLite folder. Let me work on user admin. I feel mixing command line options and CSV file makes it complicated. |
@NanamiNakano I have refactored the code to avoid using the CSV as an importing source. The user admin script has been renamed from At one place, I used an ugly implementation. Please find it by searching Third, to avoid confusions, we shall rename When done, please submit a review. |
No description provided.