Accidentally denied Rstudio the permission to read files, how to fix this ?

Welcome to RStudio Community! I have to admit that I'm not super familiar with this permission, but usually this type of thing is managed in "System Preferences" -> "Security and Privacy"