Alternatively below is a profile that allows a Standard User to enable Screen Recording for TeamViewer App (requires macOS 11+):
These profiles have the same profile identifier, which is used to determine if the Profile is already installed during installation. Only upload one of these Profiles at any one time. If prompted the following 'Another Fileset already has the same profile payload identifier', do not accept. Remove the matching profile from FileWave and then upload this one.
We are including the below Fileset/payload as an example only to show the use of the settings file. You'll always want to download the most recent version of TeamViewer yourself at the link above for your own installer. That said, this is a fully functioning Fileset for the TeamViewer Host application.