bcgov / performance

Performance
Apache License 2.0
0 stars 2 forks source link

Improve audit log tracking of creating, updating, and deleting #1182

Open Travis-A-Clark opened 9 months ago

Travis-A-Clark commented 9 months ago

We currently track audit events for goals and conversations created, updated, and deleted. Please review code to ensure we are tracking as much detail as possible as consistently as possible. We rely on the audit log when troubleshooting user issues. We need the information to be reliable and complete.

jessicahjwu commented 8 months ago

Pipelines: Product Backlog No sprints assigned Estimate: 2 Epics: Emp - Goal Setting

telusdcinco commented 4 months ago

The is possible change to capture audit changes in Admin Goal Bank for changes to Tag, Individual Audience and Business Unit Audience. The change will be logged in Audits table similar to the detail changes for a Goal. The Last Modified By and Last Modified Date on the Goal pages will be able to display the changes done on Tags, and Individual & Business Unit Audiences. This is discussed in #1279.

telusdcinco commented 2 months ago

Employee Demographic daily update can have audits to track changes in name, email address, GUID, position number, supervisor details, employee status, and date deleted values.

The audits will be stored in the audits table and displayed on the Sys Admin page.

telusdcinco commented 2 weeks ago

MIGRATION NOTES:

Code changes only.

telusdcinco commented 2 weeks ago

Changes:

  1. Remove IP Address & User Agent columns in SysAdmin Auditing page.
  2. Implement Goal Tags audits in Supervisor/Employee goals. Not including admin goals.
  3. Implement Profile Switching audit for Supervisor accessing direct reports. Not including SysAdmin or Service Rep profile switching.

Fixed issue: When deleting goal in My Goals, the related entries (tags, comments, etc) are not deleted. Leaving orphaned entries with no ties to any goal.

steffipravasi commented 2 weeks ago

Test Validated

telusdcinco commented 2 weeks ago

Deployed to Training.

jessicahjwu commented 2 weeks ago

Training missing "view profile as" in the audit type dropdown

telusdcinco commented 2 weeks ago

Deployed to Prod.