Skip to content

BE 1.5 - Implement createUser function #111

@LeandroHamaguchi

Description

@LeandroHamaguchi

An admin user should be able to create accounts for other users (other admins or staff) in the Manage Staff page (including creating a password and using an email).

  • These creations will be done using createUser, which should create a user's authentication data (in the auth.users and public.Users tables).
  • User's data: type (admin or staff), email, name (optional), and password.
  • This function should then be used inside the Manage Staff page when admins press "+ New User".

Follow this Perplexity guide on how to do this: Supabase Auth Updates Perplexity Guide

Metadata

Metadata

Assignees

Labels

backendthis ticket is part of the backend

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions