
Hi, Sorry for the spam... but can't found in the documentation any sample for the property execute in appwrite.json.
{
"projectId": "113431412",
"projectName": "MyProject",
"functions": [
{
"$id": "12345",
"name": "function_first",
"runtime": "node-16.0",
"path": "functions/function_first",
"entrypoint": "src/index.js",
"ignore": [
"node_modules",
".npm"
],
"execute": [
"users"
],
"events": [],
"schedule": "",
"timeout": 15,
"variables" : {
"APPWRITE_FUNCTION_ENDPOINT":"https://....",
"APPWRITE_FUNCTION_API_KEY":"...."
}
},
}
What sort of string can I put in the property execute ? The documentation say to go to https://appwrite.io/docs/permissions but I've try many thing ("any", "users", "role.any", etc) but nothing works...

"team:admin"

This don't work. I've try this, and then when postman if I listFunction, in the property execute there is nothing.

"execute": [ "users", "any" ],

But If I create manually (on the appwrite frontend) the function, and putting a role, I obtain a well formatted execute property

Ok, if i put two roles it works 👌

it should also work with 1 value as well 🧐
Recommended threads
- Missing C++ libstdc library in Python fu...
I have a function running Python 3.12 which suddenly started dumping errors (as of today; it worked yesterday). I hadn't changed any code so I found this odd, b...
- Checkout error: Error: Request body is e...
Im absolutely stumped here. ```Initializing Stripe functionality... stripe.ts:74 Calling Appwrite function with payload: {price_id: 'price_1RdZzoDCvcSnLsdCCu8z3...
- Clarification Needed on Custom Domains a...
Hello, I need help configuring custom domains/subdomains in Appwrite: 1. **Current Setup**: - Transferred `mydomain.com` to Appwrite via nameservers ...
