How can I implement invite team member functionality in supabase? Lets say I am using paid application that has limit fo 5 team members which I can add remove and invite how can I handle this functionality in supabase?
n
Needle
04/04/2022, 5:54 PM
Hello @Adi!
This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``.
Pinging @User so that they see this as well!
Want to unsubscribe from this thread?
Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates.
Want to change the title?
Use the
/title
command!
We have solved your problem?
Click the button below to archive it.
a
Adi
04/05/2022, 2:35 PM
@User
o
Olyno
04/05/2022, 2:38 PM
Hi you can do it with a one to many. Each profile has some invites, and can create only 5 invites max. Each profile is linked to a list of Invite model, and a User model
n
Needle
04/05/2022, 2:38 PM
Adi (2022-04-04)
o
Olyno
04/05/2022, 2:38 PM
Using RLS you can restrict access to avoid people of creating more than 5 invites @Adi