processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.06k stars 1.51k forks source link

Ejabberd contact list grouping and show contact list if its connected with parent entity #4001

Closed pinanklakhani closed 1 year ago

pinanklakhani commented 1 year ago

I have 3 entities

Entity 1, Entity 2 & Entity 3

There can be users under Entity 1 & Entity 2. Entity3 is an individual user invited under Entity2

Now i want to restrict users. For ex.

All entities can send request to each our by visiting their profile page.

Now i want to restrict entities for listing users.

NOTE: Single user can be in multiple entity.

So whenever user logs in i want to list only those contacts which are connected.

I was exploring roster and shared roster group but couldn't figure out if it can be possible or not.

Basically a one to one chat where user list is group wise for ex. Entity1 users can list/chat with only users which are invited under Entity1 or Entity1-1 and Entity2-1 are connected then view users of entity1-1 and 2-1 internally

Not exactly group chat but a one to one chat where user can list their groups user only. Same user can be in multiple group but it should list group wise only

Can somebody please guide me with the reference if known