Sorry if my question is not new, but I was reading about teams, you can create teams, and allow user to do teams. I want to do in flutter, I don't see the worflow for create a team, and invite friend who use your app with appwrite in real time. For example I create a team with permission of reading my content and allow members to send content, how can I notify the member that I required to join the team and how can they send content to the team?, I see a very flexible squema of permission in teams, my doubt is how can notify the member that I add to their devices without use mail system to join the team
To invite someone to a team, you would call teams.createMembership()
: https://appwrite.io/docs/client/teams?sdk=flutter-default#teamsCreateMembership. The other person will get an email with a link. They should click on the link and be directed to your app (using deep links) where you can grab the secret and call teams.updateMembershipState()
https://appwrite.io/docs/client/teams?sdk=flutter-default#teamsUpdateMembershipStatus. At that point, they can access the data.
Appwrite's teams.createMembership()
uses email. If you want to do something else, you'll have to manage it all yourself with maybe functions and then you can use the realtime api to do things in realtime
Thanks Steven for your response, very profesional, resolve my doubt. But I don't want to use mail, to much work for a user, I see another response better of you without mail, if they dislike invitation, they can't deny with a buttom, more faster without going out or checking mails, the user don't like to work or think
👍🏼 if you're all good, please prefix the post title with [SOLVED]
Teams and permission[SOLVED]
Done
[SOLVED] Teams and permission
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- Is there way to copy project (backup/res...
I think there is betterr way of fast back up / restore specified project
- Database setup
Hi everybody, I'm new to AppWrite and I need some help designing a database. I'm trying to set up a database where: 1. There are USERS 2. A USER can create an ...