BloxEZOriginal post
Web Developer
Hey AppWriters! Day 2 for me 😅
I'm reading the docs https://appwrite.io/docs/products/auth/team-invites
In order to understand how a document is added then only accessible to the user/team that created it.
- I see lots of really useful code examples, but I don't see enough context. For example, only a Team Admin role should be able to invite or remove a team member.
- When a document is created, can we automatically assign the team id, per the auth token, to a team_id on a document?
Just need to get a foot hold on this stuff then I'll be flying!
Thanks for your support 😅
Summary
Developers want to automatically assign the user and team to a document in Appwrite. They seek clarity on roles for inviting/removing team members and want to automatically assign a team ID to a document based on the auth token.
Solution: Check the documentation for relevant code examples and ensure roles are properly set. Automatically assign the team ID to a document based on the user's auth token.