Did you know that ArchiveLink could work with HCM authorizations and P_ORGIN permission object? Citate: “With correct set system documents could be attached to any infotype and access to them will be granted by infotype authorizations. Thus if you attach scans to infotype 21 only users with access to 21st infotype will see them”. (с) WHITE PAPER SAP Employee File Management. So, ArchilvLink permissions could use regular SAP permission role objects without any additional customization which is great!
I’ve never used this trick cause all documents were assigned to personnel number and 2 infotype. Nice and free solution.