Skip to content
Init is here / May 19 - 23
Back

Request: Increase 1,000-Team Membership Limit

  • 1
  • Self Hosted
  • General
zwelch
23 May, 2025, 13:14

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!

TL;DR
Request to increase the team membership limit to allow more than 1,000 team memberships. The user faces an issue with querying a document beyond 1,000 teams due to Appwrite's internal 1,000-team limit. They seek assistance in locating where to make the change in the code.
D5
23 May, 2025, 13:17

But this happens in Cloud?

D5
23 May, 2025, 13:17

Also, what is the use case for needing that limit?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more