How to limit the number of documents a user can create in a collection?
- 0
- Databases
- Accounts
- General
- Users
- REST API
I have addresses collection and a user can have multiple addresses. I want to set a limit of 20 addresses per user. This is also a potential security risk as one account may create as many records in the collection as allowed by the rate limit and thus potentially infinitely increasing the collection size.
Just like any other validation, you'd use an Appwrite Function
Recommended threads
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...
- Free to Pro upgrade issues
Could someone please investigate this issue? I recently upgraded my account to the pro version and charged for it, but the account still shows as free. <#107290...