Audit Logs on (Search, Create, and Update)
-
Due to the nature our of application, we would like to keep a record of each activity:
1. Who is doing what kind of search
2. Who viewed which record
3. Who is creating and updating which recordIf I take an example of WPDA Student Management System:
1. Who Create the Student
2. Who update the Student
3. Who searched/view the student.as part of the table design, I have created triggers on audit_create_ts and audit_update_ts on all tables. For all create records, I can pass $$USER$$ to the database as a hidden field.
Question:
1. How to handle this for an update?
2. Keep tracking to searchers by users, I can put a trigger on a table for every SELECT but how can I get the $$USER$$ info, the person who performed the search?
3. Is info recorded in WPDA tables or WordPress Log that I can take advantage of it?I hope this make sense, happy to provide more context if required.
Thanks
Rahim
- The topic ‘Audit Logs on (Search, Create, and Update)’ is closed to new replies.