
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
- Appwrite Cloud + Firebase hosting login ...
Hey team, can you please add the following to the CORS allowlist for my cloud project? Project ID: 68633b67002faf66fbcf Domains to allow: - https://taggit-...
- Realtime Disconnects and Error: INVALID_...
Hi Support, we are still experiencing the issue and we are a subscriber on your platform under the account of charlesbcalague@gmail.com I just want to ask here...
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
