@TomasP
Hello,
I just finished running through the instructions for the TCC policy and tested on two machines.
Created a photo library
Attempted to create a file via terminal but access was prompted to grant terminal access. Did not grant terminal access
Generated a TCC profile for terminal granting it full Disk Access
Applied to the machines
Attempted to create a file via terminal, no prompt to grant terminal access, file created.