Separate contacts so that they do not see each other in the agenda.

good evening with everyone I have a query;
I have a server running with the latest version of nextcloud and I have a question I have created approximately 100 users of which, for example, 20 belong to group 01 and 80 to group 02, how can I do so that those of group 01 do not have the group among their contacts 02?
When a user of group 02 shares a folder among the options to share are users of group 01, I would like them not to be seen according to the groups, is that possible with the community version? I will appreciate your responses.