In my system, all authenticated users can create documents but not read them. I am creating a cloud function that reads all the documents and sends a push notification if, e.g. a user hasn't created a document in the last 24 hours. I assumed that scheduled cloud functions are called with admin permission, but this is not the case. How to make it possible for the function (and only the function) to read the documents?
I am using Flutter SDK. Thank you
Recommended threads
- get document with jwt unauthorized
Hello, I want to implement server side listDocument (listed) and getDocument (detail) with authentication JWT. For listDocument, authentication with JWT succes...
- CRON not working properly, or I'm missin...
Hello, I have a question. I have an Appwrite installation, I always use some CRON functions to execute code every minute or every two minutes. Right now, I wa...
- Different setJwt & setSession SDK
What is different setJwt & setSession when using SDK