feature: add multiple new users - #608
Open
alicestoneprod wants to merge 1 commit into
Open
Conversation
Author
|
@angristan, could you please take a look when you have a moment? I hope this improvement may be useful for other users as well. 👀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Today I faced an issue where the VPS became unavailable. Due to the current blocking-related connectivity problems, it was important to restore access for the company as quickly as possible, since communication had become significantly more difficult.
Adding users one by one is inconvenient and time-consuming: for each profile, it is necessary to press Enter and manually enter the client name. This becomes especially tedious when a single person needs several profiles for different devices.
I could not find an existing way to add multiple users at once, so this pull request introduces that option.
This change should also make migrations between VPS instances faster, since the script already provides a way to list all active profiles. Their names can now be reused to recreate the required users in a batch instead of adding each profile manually.