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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.