[RSS Feed/News] Post::getTypePermissionConstraints does not cull all nodes a user can't view threads in

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
XF\Search\Data\Post::getTypePermissionConstraints checks nodes a user can view, and adds non-viewable nodes to a skip list.

However, it doesn't consider the "View thread content" permission. This permission is required when Thread::canView is called for each thread to prune non-viewable threads on display, as such should be just excluded entirely from the query.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom