Access rights differentiation in obsidian Sync

Hello. I have an obsidian repository that I want to share. I have a problem. I have 2 folders in my storage. I want to share one folder with some users and another folder with other users. How do I solve this problem using obsidian sync? Moreover, I want these folders to be in the same local storage, but synchronized with different people. That is, I need some kind of differentiation of access rights to these folders. How do I do this?

Each folder would have to be a separate vault. Collaborate on a shared vault - Obsidian Help