[SOLVED] User invited to team has access to team Permissions, but can't list team members
- 0
- Databases
- Accounts
- Web

When a user is invited to a team, they immediately (without having accepted the invite) can access resources tagged with Role.team(teamId)
, however teams.listMemberships(teamId)
fails until they accept.
I would expect users not to have access to those resources until they accept. Is this intended behaviour?

yes, they shouldn't have access to resources. how are you adding users?

teams.createMembership(
id,
[],
email,
undefined,
undefined,
"http://localhost:5173/accept_team_invitation",
);

This is using a client SDK?

Yep, from Web

Oh, wait, I'm an idiot - Permission.read(Role.any())

[SOLVED] User invited to team has access to team Permissions, but can't list team members
Recommended threads
- TablesDB not available in FRA?
Hi, in the cloud version, v1.8.0 Frankfurt, is it possible to use TablesDB ? I donβt see that feature in the console.
- Query.equal error
Hi guys. I'm using Appwrite Cloud, and I'm using version 21 of node-appwrite to benefit from transactions. The problem is I seem to be getting an error when I u...
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
