I want to log each admin actions, so when an admin creates, updates or deletes a document, the functions occurs logging the admin and the modified document's details.
How to know the document updater using functions Event
You can use Appwrite events this one databases.*.collections.*.documents.* to be exact.
But, this event will emit in any collection change regarding the user.
As of now, there's no way to know who triggered the event.
For the updatedBy attribute track this issue.
The best option now would be to wrap the collection update inside a function.
Recommended threads
- functions
Code for function not being created in Github. Permissions are set correctly, repository is created, however no code is in the created repository. Just trying...
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Sites Build Stuck
Hi, need help to check i have try on my three sites. All stuck at build
