[standards-jig] JEP-0045 JID matching

Jacek Konieczny jajcus at bnet.pl
Thu Jan 29 08:25:12 UTC 2004


On Wed, Jan 28, 2004 at 06:19:21PM -0600, Peter Saint-Andre wrote:
> The privacy rules JID matching in draft-ietf-xmpp-im is as follows
> (Section 10.1):
> 
>    If the type is "jid", then the 'value' attribute MUST 
>    contain a valid Jabber ID.  JIDs are matched in the 
>    following order: <user at domain/ resource>, then 
>    <user at domain>, then <domain/resource>, then <domain>.  
>    If the value is <user at domain>, then any resource for 
>    that user at domain matches.  If the value is 
>    <domain/resource>, then only that resource matches.  
>    If the value is <domain>, then any user at domain (or 
>    subdomain) matches.
> 
> It seems like we might want to follow the same rule in MUC for kicking
> and banning, eh?

Seems OK to me. Better than banning only by user JID (user with his own
server could abuse MUC rooms without being really banned). However
I don't fully understand <domain/resource> case.

Greets,
	Jacek



More information about the Standards mailing list