All content shows in private zone too!

EgorfromMurmansk - February 26, 2008 - 19:21
Project:Usercontent
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Private content is also shown. How does it exclude?

#1

ultraBoy - March 13, 2008 - 13:14

What is private content?

#2

introfini - March 14, 2008 - 11:16

Maybe is talking about some node types that should be excluded. It would be a nice feature to allow choosing the node types that are exposed.

introfini

#3

leafish_paul - April 17, 2008 - 16:21
Category:support request» bug report
Priority:normal» critical

No - your query (at least in the version I'm playing around with) is not passed through db_rewrite_sql, meaning that any content that is protected by Drupal's node access using a module like TAC, TAC_LITE, Content/Forum Access etc will still be listed on user profiles. When a visitor who does not have access to view these nodes clicks on an item in the User Content listing, he/she will be presented with an Access Denied page.

I'd say this was a critical bug, as enabling this module on a site with content protected by ANY node access control module will expose listings of private content to anonymous and other non-privileged users.

 
 

Drupal is a registered trademark of Dries Buytaert.