WSDOT / HATS

Highway Activity Tracking System Issue Tracker
6 stars 0 forks source link

Add an editors only edits flag to an activity #1330

Closed tangoai closed 5 years ago

tangoai commented 5 years ago

so only editors can edit certain forms, request from region Trainers mainly for the CDL form but could be useful in the future.

jhudsonWA commented 5 years ago

@brianblood is this something you could tackle asap? Add a new flag to the activity table. Then update web app in both feature and other edit record screens that if this flag is set for an activity the only permissions it would check is if the user is an admin or editor. Right now for the first 14 days it lets the user who created the record edit as well. This flag would bypass that check.

Finally update the Activity admin screen to allow this flag to be set on an activity.

brianblood commented 5 years ago

Sure, I'll get on it right now.

brianblood commented 5 years ago

This is done and deployed to QA.

jhudsonWA commented 5 years ago

@tangoai Deployed to prod and I set the CDL Training Record to true, so only editors and admins can edit these records once submitted.

jhudsonWA commented 5 years ago

Thanks Brian!