Private content which is saved for only some users

Hello,
in our application, we have content which is free for all and content that is for private groups that are saved as an id in algolia like groupId. What would be the best way to filter this content for the users? filter it with OR groupId:{groupId1} OR groupId:{groupId2} using facets or there other possibilities to give algolia just an array with the groupIds?

Best,

Hi @arthur1, I think this documentation may be helpful to restrict the user content.