Private group specifications on Discourse

Hi,

In a project, we are using private groups with SSO feature. We are using Wordpress as SSO provider. Our all user groups are private and each group can display a separate category. These groups and categories are completely independent of each other.

Also, we are using automatically join group feature for joining these groups and it works correctly.: “Users who register with an email domain that exactly matches one in this list will be automatically added to this group”

Discourse’s default user groups specifications are is not offering enough options at this time for that.

What we need:

  1. Users can only see members in their group and send messages.
  2. Users can only view public profiles of members in their group.
  3. Users can only see members in their own group in user list. (not disable user directory, just customize that for user groups.)

What can we do? I am happy to hear your suggestions.

Thanks.

Немного. Ваши простые варианты: либо отключить профили пользователей, чтобы никто не мог их видеть, либо разрешить просмотр всех профилей.

Плагин, вероятно, мог бы переопределить список пользователей или скрыть тех, кто не состоит в той же основной группе, что и просматривающий. Если допустимо, чтобы другие пользователи присутствовали в загрузке JSON, возможно, компонент темы сможет скрыть пользователей, не входящих в группу текущего пользователя.

Такие вопросы периодически возникают.

Если вы действительно хотите, чтобы пользователи не видели друг друга, лучший вариант — создать отдельный форум для каждой группы. Это можно реализовать через мультисайт, оставив при этом единственный контейнер.