Rank 1: Thread
For a small project, it’s necessary (regardless of any impact on performance or the like) for a user to have more than 1,000 team memberships. I can create the teams and assign the user without issue—but when I query a document with the permission team:test-1001, I get no result. This happens for any team index above 1,000; team:test-1000 (or lower) works exactly as expected.
I’ve reproduced this in a test setup by assigning one user to 1,500 teams (test-1 through test-1500). Teams 1–1,000 work fine; anything above 1,000 returns nothing. It seems Appwrite internally imposes a 1,000-team limit. I’d like to patch this locally and raise that limit, but after several hours of poking around the source I still can’t find where to make the change. I hope someone can point me to the relevant spot in the code. Thank you in advance!