Meh! From the article "In macOS, all applications require user consent before accessing sensitive data"." Well and once given have access to all "Files and folders Note: Includes: Desktop, Documents, Downloads, network volumes, and removable volumes", absolutely in a same way as in Linux.
Additionally when installing packets in Linux I would say you give permissions by answering 'yes' to apt/dnf. Such small nuances between MacOS and Linux are not important. Additionally author ignores the fact SELinux may provide protection from accessing random files by random app.