.. include:: /Includes.rst.txt .. _feature-1792047372: ======================================================= Feature: Documents reviewed through the approval engine ======================================================= Description =========== A document an employee adds is checked through the approval engine like a leave request. Certificates and other work documents go to the reporting manager unless HR sets up rules for them, by department or employment type. Passports and other personal documents go to HR alone, without rules, and only to people who may read them: a manager or an admin without HR is never asked. Without anyone in HR, such a document cannot be added. The employee learns the decision by a notification in their language and reads the reason of a rejection with the document; a new file sends a rejected document to its review again. Impact ====== New approval subject type ``workDocument``; ``personalDocument`` takes no rules and is not offered for them. New notification types ``document.verified`` and ``document.rejected`` and the messages ``EmployeeDocumentVerified`` and ``EmployeeDocumentRejected``. .. index:: API, package:adsum-documents