How to associate a group to a specific folder

Hi, I’m new to Nextcloud but I definitely love it !
I would want create groups and associate it to specific folder, so that users belonging from that group are confined into that directory, how can I achieve the funtionality ?
I’m testing a 13 version of Nextcloud.

I believe that is necessary to install Groupfolders App, right ?