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

Allow creation of admin users #20

Open
3 tasks
yurihnrq opened this issue Sep 2, 2022 · 0 comments
Open
3 tasks

Allow creation of admin users #20

yurihnrq opened this issue Sep 2, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yurihnrq
Copy link
Owner

yurihnrq commented Sep 2, 2022

Description

Implement a feature where when creating a specific user it will have admin privileges. Maybe a .env config telling the email of the user that, when created, will be admin.

Tasks

  • Give users a field called isAdmin (boolean)
  • Implement a way to create the first admin user
  • Give admin users the right to change others users type: isAdmin (true or false) (patch endpoint?)
@yurihnrq yurihnrq self-assigned this Sep 2, 2022
@yurihnrq yurihnrq removed their assignment Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant