Is it possible to give a dynamic key permission to delete a specific collection or database instead of all of them? There is one database that we want to put extra protections on to prevent accidental deletion. Our cloud function has permission to delete documents. Is there a way to specify that a particular collection cannot be deleted using the dynamic key of the cloud function? Is there a way to specify this using regular keys? I understand that the permissions in the collection settings are not used if using a key, is this correct? Thank you
I don't believe there is a way to limit api keys to just specific collections. They operate as an admin of sorts, you grant them access to everything. Collection.Read
, grants them access to read everything within all collections. You can setup your own authorization within the function, preventing it from accessing certain collections.
Recommended threads
- Got message for auto payment of 15usd fo...
how did this happen? 1. i claimed my 50usd credits via jsm hackathon - https://hackathon.jsmastery.pro/ 2. it asked me which org. to apply the credits on, i se...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...