Rules/Conditions for deleting a document
Today, a user who has the right to delete a document can delete it whatever the state of the document (its status, its progress in a workflow).
In addition to custom profiles and restrictions in the Result list functions, it would be very useful to be able to set conditions for deleting a document.
For example, a document cannot be deleted if its status is "sent to accounting". Or the other way around : a document can only be deleted if it has a status included in "new document" or "to be validated", etc.
To date, the workaround which consists of restricting deletion rights only in a list where the documents have a defined status works is very restrictive.
Thank you in advance.