ConversationMessage search does not exclude messages well

Status
This content is read-only, or is not open for further replies.

Xon

Guest
offline
ConversationMessage::getTypePermissionTypeConstraints prevents non-recipients from searching for conversation messages they are not part of. This for some reason is skipped when $isOnlyType is true.

Without getTypePermissionTypeConstraints applying the recipient constraint when searching just conversations, search will be degraded for users as the number of conversations grows. That is Elasticsearch will return more and more results XF needs to filter out.

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom