Feature: Correct the history of working-time assignments
Description
HR can correct the history of an employee's working-time assignments through the API: change the start, the end or the model of an assignment, started or not, or insert a period that splits what lies under it. A correction needs a reason and is recorded in the change history. One that changes days before today is refused until the client confirms the earliest day to recalculate; one that changes days in a closed payroll month is refused until it includes them explicitly, which is recorded too. The days from the earliest changed day on are recalculated.
Impact
Assignments become a record of the change history. Creating and deleting assignments works as before. The correction is for HR and administrators; an employee or manager gets 403.