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

[CLI FEATURE] Command for deleting an admin user by the given username #15888

Open
crydotsnake opened this issue Feb 25, 2024 · 1 comment
Open

Comments

@crydotsnake
Copy link
Contributor

crydotsnake commented Feb 25, 2024

Describe the proposed solution

In the issue #14172 I introduced the suggestion that it would be good to have a CLI command for creating an admin user. Here in this issue it is about the reverse case ;) namely the deletion of an admin user based on the given username.

Procedure of the command:

  • User is asked for the username
  • If the username does not exist, a warning is displayed in the console.
  • If the username is correct, the username is searched for in the UserRepositoryInterface and deleted from the database and sylius admin panel.

Describe alternatives you've considered
None

Additional context
None

@crydotsnake
Copy link
Contributor Author

As an alternative to the email address the user could also be deleted via the username of course.

@crydotsnake crydotsnake changed the title [CLI FEATURE] Command for deleting an admin user using the e-mail address provided [CLI FEATURE] Command for deleting an admin user by the given username Mar 4, 2024
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

No branches or pull requests

1 participant