Is there a specific reason why my function execute access completely resets after each deploy?
This is the series of events:
- I set execute Access to role of "Any"
- I deploy function
- All permissions set are removed
I have to re-add roles each time after deploying a function
This is actually an expected behavior.
If you don't want it to change in any deployment add any
to execute
property in your appwrite.json
file
Then try to redeploy and check that everything's in order
Oh! interesting, I didn't catch this in the doc's anywhere. Seem's to work, thank to Binyamin π
<:appwriteupvote:899677724615016528>
I also discover it by mistake as I noticed my permissions get deleted any time I was deployed a new version
I'll make sure to address this in future tutorials as I would imagine others would run into the same issue
P.s. I've seen some of your videos, they are pleasant to watch.
Thank you π
Makes perfect sense
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...