New to ejabberd : create seperate chat groups

Hello

I am new to ejabberd.

I have a rather 'simple' question : how can I create completely seperate groups on 1 ejabberd server ?

So I have company A, company B and company C who I want to place on the same ejabberd server.

Members of company A should not be able to ever see or chat with members of company B and C.
Members of company B should not be able to ever see or chat with members of company A and C.
Members of company C should not be able to ever see or chat with members of company A and B.

Can I put all the members of 1 company in a sort of "group" ? What "group" ?
Should I then create ACL rules ?

Or how does this work ?

Thanks for your feedback and information.

ejabberd supports virtual

ejabberd supports virtual hosting. You can have an XMPP domain per company on a single ejabberd instance. You can find more details in ejabberd documentation: https://docs.ejabberd.im/admin/guide/configuration/#virtual-hosting

So you say I should create

So you say I should create (virtual) hosts like this :

company1.xmpp.mydomain.tld
company2.xmpp.mydomain.tld
company3.xmpp.mydomain.tld

?

It is not possible to have all the members on the same domain "xmpp.mydomain.tld" and seperate them into 'groups' where only members of the same 'group' can see (and chat to) each other ?

Not really sure what you are

Not really sure what you are after. Maybe you can look at "shared roster".

I don't think I have a

I don't think I have a complicated situation.

I have 1 ejabberd server where I want to place different groups of users. Only the users of 1 same group can see and chat to each other.

Like I said in my first post :

Members of company A should not be able to ever see or chat with members of company B and C.
Members of company B should not be able to ever see or chat with members of company A and C.
Members of company C should not be able to ever see or chat with members of company A and B.

So I have group A, with members.
I have group B with members
I have group C with members.

A member of group A should be able to see (and chat to) other members of group A but not to members of group B and C.

A sort of "multi-tenant" ejabberd server...

"Group" is too vague to mean

"Group" is too vague to mean anything in ejabberd world.

Anyway, multitenant in ejabberd is done using virtual host, as described in my first reply.

Syndicate content