Can you share a folder and it's content in one step?

I am using Nextcloud to share files, calendars and tasks with my coworker (so we are 2 users).

Now I have noted that apparently sharing a folder does not automatically share the files inside in the same way and it looks like as if you have to manually share each single file in a folder.

Is that really so, or is there anyway to define a folder as shared (with a group in my case) and automatically share all files and sub-folders inside that folder with the same group (and likewise unshare files once they are moved outside of that folder)?

seems this is actually the default behaviour