Path for trusted macros

Version: 7.4.3.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (C); UI: en-US
7.4.3-4

I have associated a macro with a template at /mnt/sda/projects/libreoffice/templates.

The macro is at /mnt/sda/projects/libreoffice/Scripts/python

I softlink these into ~/.config/libreoffice/4/user/template and ../Scripts/python

The documents based on this template are at /mnt/sda/projects/documents/

I have added each of these paths to macro trusted sources yet when I load a file, I’m prompted to verify the macro’s trust.

What am I doing wrong?

Does “each of these paths” include /mnt/sda/projects/libreoffice/templates?
Otherwise, it might be that the symbolic link ~/.config/libreoffice/4/user/template when creating a document based on it is resolved to the real path and you could try if adding that path to trusted sources helps.