Is there a way to use the client user's context to perform actions from the server SDK (e.g. node-appwrite)? I don't want to give users direct DB access, since users cannot be trusted (don't want someone scraping data or similar, plus some actions need additional steps). However, when a user calls a function, I want to make sure that permissions are still applied correctly, e.g. a user can only update their own DB records. How can I do so?
Maybe this will help: https://appwrite.io/docs/products/functions/develop#using-jwt
Recommended threads
- Timed out waiting for runtime. Error Cod...
After setting up my ML project that uses deepface and tensorflow in appwrite functions I get the `Timed out waiting for runtime. Error Code: 400. ` error. I am...
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...
- functions
Code for function not being created in Github. Permissions are set correctly, repository is created, however no code is in the created repository. Just trying...