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
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...