Hi, did anyone figure out a creative way to limit the amount of resources (collection documents) a user can create?
I am trying to avoid proxying document creation through functions that are called from a client if possible. If there’s no other way sure.
How many documents do you want the users to be able to create ? A hacky way would be to maintain the number user has in users profile collection n restrict user from creating documents if it reaches the threshold till user deletes some.
I think function will be the best option, why would you want to avoid a function?
Recommended threads
- [Regression] Appwrite 25.1.0 returns Inv...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...