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
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Project auto-blocked after load testing ...
Hi team π My project has been automatically blocked with the message: "Project is currently blocked β Access to this project is restricted. Contact support if...
- TEAM INVITE
There is a problem with the team invitation. When a user invites other users, that time, the newly created email address they don't get the invite link and old ...