Still being prompted to enable macros when opening document

LibreOffice 7.5.3.2 50(Build:2)
Linux 6.3.2-arch1-1

I have a document in ~/doc to which I have associated a macro in .../Scripts/python.

To the Macro Security/Trusted Sources dialog I have both these directories, yet on opening the document I am prompted to give the macro access.

What am I missing?

Setting Macro Security, Security Level, to Very high?

It is set to Medium.

And “untrusted sources” probably is not the same as “not from trusted file locations”.
Try Very high.