rsync from plist gets permission restriction

I have a shellcript with a rsync routine started by a daily job with plist.

Before Catalina everything was fine. Now:


rsync: opendir "/Users/Username/Documents" failed: Operation not permitted


Manually calling the shell script executes rsync.

Adding rsync to full access list in system preferences had no effect.

How to grant rsync access?