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

Document Permissions ... User array vs Teams

  • 0
  • Databases
  • REST API
  • Cloud
makeshyft_tom
21 May, 2025, 00:41

In my app, I will have multiple users who need read accesss a document, but ONLY them. Sometimes its 2 people and sometimes it will be 100 but sometimes 5000. What is the best most effective way to do permissions to these documetns.

What is the limit of users i can specify in the permissions array of a document?? At what point is it too many for performance reasons?

Is it efficient to use "teams" to group people who need access to a particular set of resources?

Can I have 1,000,000 teams without a problem?

TIA

TL;DR
Developers want to know the best way to handle permissions for documents with varying numbers of users. Consider the performance limits of specifying users in the permissions array of a document and whether using "teams" to group people is efficient. There is no limit on the number of teams, but keep performance in mind.
makeshyft_tom
21 May, 2025, 00:42

Document Permissions ... User array vs Teams

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