
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
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
