[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
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
