I have an app where I want to limit the people accessing the app initially when it’s in testing stage.
I’m looking into adding a step in the user signup process where the user signing up has to add an invite code (generated and sent from another member that’s already been invited OR generated and sent by myself) to be able to complete the signup process.
Are there any functions in existing Appwrite open source that could be used to build such functionality in my own app?
Appwrite teams have team invitations. You could create a team and invite there the users: https://appwrite.io/docs/references/cloud/client-web/teams#createMembership
Thanks @D5 but this doesn’t sound like a useful solution. This talks about internal use, when I just want one of my app users (not a team member or anything) be able to create an invite to share with one of their friends, to grow the user base organically through referrals.
I’m not looking to limit access or create more admins. All users will have the same access, controlled by the settings I set, but they should be able to invite new users through their own referral links/codes.
Do you still think Teams is the best way to go?
You mean like an access code?
If so, a combination of Appwrite function + teams will do the work
Yes! 🎯
Okey, any suggestions on how to combine them?
You basically check in the function if the invite code is correct and if so, you add the user to the team with the code I sent you in the first link
You could find difficult functions first time, but they're easier than what they apparent to be
So then to make the team feature work, I would need to create a team with myself as the main admin, and I send out invites to others?
But then if the ones that I invite invite others, will they become admins too of a team or how does that work? I guess I’ll have to read more about it in the teams doc
To prevent that you can disable teams for client side and use it only server side
I'm not sure if that's allowed for any role
Recommended threads
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- Help
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...