You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?)
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: