Rank 2: Process
I read https://appwrite.io/docs/client/teams but I don't understand how it works?
If I add a user to a team, then in the client application I can't track which team he belongs to in order to allow or deny him any actions depending on this. When creating a client session, Response does not have something like "memberships".
The only way to determine which teams the user belongs to is /v1/users/{userId}/memberships through Server integration.
Maybe I misunderstood the purpose of "teams"?