pharmaR / riskassessment

Collaborative Deployment: https://app.pharmar.org/riskassessment/ Risk Assessment Demo App: https://rinpharma.shinyapps.io/riskassessment
https://pharmar.github.io/riskassessment/
Other
101 stars 28 forks source link

Audit Table(s) in Database #361

Open borgmaan opened 1 year ago

borgmaan commented 1 year ago

It looks like there has been discussion and development around creating an audit trail for user activity in #134.

Has the addition of adding audit logging capabilities to the database been discussed?

This can be achieved pretty quickly by adding some triggers to the existing tables that log info to an audit table about what changes were made during a given transaction (e.g. what table what changed, new & old values, time of change, etc.).

In addition to #244, I think this is something that organizations will look for when assessing the stability of the product.

Jeff-Thompson12 commented 1 year ago

I'm starting to look into this idea (which I really like). Here are the challenges I'm facing: