apsislabs / phi_attrs

HIPAA compliant PHI access logging for Ruby on Rails.
MIT License
27 stars 3 forks source link

Feature/i18n #34

Closed Crisfole closed 5 years ago

Crisfole commented 5 years ago

This addresses #29

The only real change here is that the system now stores the controller and action before each request.

If your translation file has a phi.path.to.controller.phi_record_name translation (see the en.yml added here for a better explanation), then that translation is used when a null reason is given.

This same strategy can be used to automate the current user.

wkirby commented 5 years ago

The code looks good, but do we need any documentation changes in the README?

wkirby commented 5 years ago

@Crisfole Does this also need to be retargeted to the breaking/0.4.0 branch?

egreer commented 5 years ago

@Crisfole Does this also need to be retargeted to the breaking/0.4.0 branch?

This is phi_attrs not Slayer