Wednesday, November 13, 2024
1 change · 18.0
Resolved issues and error corrections
Employee-linked documents uploaded through the Documents app no longer automatically give the employee viewing rights. This helps keep sensitive HR files private while preserving the intended document linkage to employee records.
Original PR description
…loyee doc How to reproduce: - Install documents_hr - Activate "Human resources" Centralize your employees' documents - Open "Abigail Peterson" employee form - Click on the "Documents" stat button - Upload a document - Click on the "Share" button "Abigail Peterson" is set as viewer of the document but mustn't. To solve the problem, we avoid to set automatically the employee as viewer of a document uploaded in the Document app. But if a file is uploaded in the chatter of the employee record, the employee will be viewer of the document automatically created when the centralize employee documents option is enabled. This exception is introduced to cover the use-case of uploading a C4 of an employee in the document app that the employee must not have access to but that must be linked to the employee record. Task-4212817