Discussion:
[prosody-dev] Shared groups across subdomains?
Keegan Leitz
2018-08-01 22:08:13 UTC
Permalink
I have one VirtualHost set up for chat.mysite.com (subdomain is "chat")
with regular authentication/users, and another VirtualHost set up for
anon.mysite.com (subdomain is "anon") with SALS ANONYMOUS authentication
(i.e., `authentication = "anonymous"` for that VirtualHost). So, users on
the former are registered with usernames and passwords, and users on the
latter are anonymous, with a hash for a username and created on the fly.
Both VirtualHosts are on the same server.

I set up a groups file (globally) so that there are some registered users
of chat.mysite.com listed under an "Operators" group, and I have
mod_firewall set up such that messages can only be sent if they are to, or
from, a user in the "Operators" group. It works well; users of
chat.mysite.com automatically get the "Operators" group in their roster,
and users of anon.mysite.com can message back and forth with
chat.mysite.com users in the "Operators" group.

The problem is that the "Operators" group does *not* show up in the roster
for a user of anon.mysite.com, and I would like it to. Is that possible?
--
You received this message because you are subscribed to the Google Groups "prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+***@googlegroups.com.
To post to this group, send email to prosody-***@googlegroups.com.
Visit this group at https://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...