Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add command to create users #458

Closed
tdruez opened this issue Jun 23, 2022 · 1 comment
Closed

Add command to create users #458

tdruez opened this issue Jun 23, 2022 · 1 comment

Comments

@tdruez
Copy link
Contributor

tdruez commented Jun 23, 2022

Following #359
We've implemented authentication but we have no simple way to create simple users with their API key.

The current workaround is to use createsuperuser and use drf_create_token. This is not documented.

tdruez added a commit that referenced this issue Jun 23, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Jun 24, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Jun 24, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Jun 24, 2022
Signed-off-by: Thomas Druez <tdruez@nexb.com>
tdruez added a commit that referenced this issue Jun 24, 2022
* Add a "create-user" management command #458

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Refine the stdout/stderr syntax on management commands #458

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Add password prompt for the create-user command #458

Signed-off-by: Thomas Druez <tdruez@nexb.com>

* Add documentation for the create-user command #458

Signed-off-by: Thomas Druez <tdruez@nexb.com>
@tdruez
Copy link
Contributor Author

tdruez commented Jun 24, 2022

@tdruez tdruez closed this as completed Jun 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant