DarkmiraTour / community-event-manager

Web application with a collection of tools helping people organising community events such as multi-days conference with reminders, CRM and such
GNU General Public License v3.0
21 stars 22 forks source link

Manage users from command line #99

Closed tdutrion closed 5 years ago

tdutrion commented 5 years ago

Users can be managed by any other user using the web interface.

Problem is: we do not want a default user, and we want something easy to use for the person hosting the website.

Proposed solution: a command line tool that allows the host to create/update/delete/list users

related to #53 / #54

kevinjhappy commented 5 years ago

@tdutrion Can I use Symfony custom command for this or you add something else on your mind?

tdutrion commented 5 years ago

It has to be a symfony command indeed, as described here: symfony console documentation

Also, it can share its services with the AdminUserService or whatever this one is named, that is also consumed by the controller.

kevinjhappy commented 5 years ago

@tdutrion I don't quite get the read part here, does it simply need to print at the terminal the user's information? As I understand it's like the list command but for OneOrNull result

tdutrion commented 5 years ago

Read is indeed just printing details. You can forget it if you think it's useless, I'm not sure what the use case would be to be fair :p

kevinjhappy commented 5 years ago

Maybe just check if a user already exist, but yeah it's not that relevant than list for instance

tdutrion commented 5 years ago

Removed, people can list | grep whatever :p