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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...