Open christina-luong opened 6 months ago
How to setup auditing:
In the model, at the bottom, before returning the model object, you want to call <model>.auditDataChange()
which will ensure that all changes are audited (see src/server/policeDataManager/models/cases.js
for an example).
This may cause some failing tests where someone is inserting into the officers table without setting the auditUser
, which is required for audited tables
User Story
As a New Orleans user I want to be able to update officer details in case creation So that the information in the system is up to date
Business Context:
To improve the user workflow, NO has requested that we add the ability to edit officer details while creating a case. Currently, you cannot edit an officer once generated.
In Scope
Out of Scope
Open Questions
Notes
Mockups
Note: Popup will display the current information for the officer
Acceptance Criteria
Scenario: Given that I am creating a case And adding an officer When I click the Edit button on a specific officer Then I will see a popup where I can view and edit the officer information
Scenario: Given that I am on the Edit screen for a specific officer When I update any information And press Save Then I will see the changes reflected in the officer select screen
Checklist
Kickoff
Deskcheck