We're updating the issue view to help you get more done. 

Restrict discovery of rooms based on users membership

Description

Let configure the MultiUserChatServerImpl so that public rooms that are members-only may only appear in the discovery list of the user making the disco request is a member of the room.

So the conditions for a room to be discoverable are:
. Be public
. Not locked (and is not allowToDiscoverLockedRooms)
. if restrict members-only --> room is members-only and user is a member of the room (NEW)

http://www.jivesoftware.org/forums/thread.jspa?messageID=100378&#100378

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Daryl Herzmann
June 16, 2009, 11:01 PM

patch attached.

Daryl Herzmann
June 16, 2009, 11:01 PM

placing on radar for next release.

yngui
June 17, 2009, 5:42 PM

New discussion with the attached diff is here http://www.igniterealtime.org/community/message/192935#192935. Sorry.

Guus der Kinderen
February 6, 2013, 7:57 PM

Removing the 'fix version' for all unresolved issues that were scheduled for version 7.8.2. We're releasing this version today - the remaining issues should be rescheduled later.

csh
April 22, 2014, 8:09 PM

I've slightly modified the patch and set the default value to false, so that non-public members-only rooms cannot be discovered by members by default.
Reason: The spec says:

The service SHOULD return a full list of the public rooms it hosts (i.e., not return any rooms that are hidden).

Assignee

Guus der Kinderen

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Major
Configure