How do we add a folder to the Trusted File Locations for all users?
Depends on system and how you deploy LibreOffice, but basically you need a configuration entry in either the system’s LibreOffice configuration registry or deployed along with each local installation. In general see