Closed annchemu closed 6 years ago
@annchemu In conclusion, the edit feature looks functional so I'd say go ahead and merge.
One caveat, I didn't see any trail that captures who did what when. We need to be sure we don't lose data on editing.
I'd suggest the following approach:
btw, the results page allows partners to view all results and submit the ones that are NOT CHECKED. They should be restricted to their counties. Combinations of the Region, Feedback and Submission status show disregard the users role eg, an SCMLC can see results of everyone in the county.
@mapesa Thanks for the suggestions
As for the audit trail, I've created a simple view showing the comparison of the previous and current results together with the person editing and the day it was edited.
I'll work on the coordinators permissions .
@mapesa Kindly review
First create the table evaluated_results before saving any changes (check the seed folder for the create sql statement)