Skip to content

Archive workers

Refs https://redmine.teklia.com/issues/4717
Depends backend#1656 (closed)

A user must be able to archive a worker (admin rights are required, but the backend will handle that, simply display errors).

When a user clicks on a worker in the list component, he must be able to click on an archive button, that opens up a confirmation modal. Upon confirmation:

  • an API call to update the worker with archived=true is sent
  • the worker is removed from the list