Hi,

Apologies if this is not a bug but a side effect of the way the site is built but i'm getting an issue whereby a node of custom content type is being affected by the forum_access acl. My content type has an entity reference field linking to the forum taxonomy, this is used generate a link to specific forums. From what i can see the issue is that the forum_access module is looking at the taxonomy_index table for all nodes that are linked to the forum term, but it is not checking the content type and limiting to forum_topic. Is this deliberate or is this a bug?

Cheers

Comments

alexfarr created an issue. See original summary.

salvis’s picture

Title: ACL bleeding out to other content types » Forum Access affects all content types in forums
Status: Active » Closed (works as designed)

Indeed, this is deliberate.

Drupal's Forum module lets you put all content types into a forum by adding a forum taxonomy reference to the content type. That makes the nodes of that type show up in the specified forum, and Forum Access must protect it according to the access defined for the forum. It would be a bug if FA protected only forum_topic nodes.

I see how this causes problems if you want your taxonomy reference to only point to a forum (vs. putting the node inside that forum), but this is a Drupal issue, not a Forum Access issue.

What is your actual problem? Too much access or too little?