I have Forum Access, ACL, and Content Access setup for my site.
If an user (say user A) does not belong to a Drupal role that does not have permission to view a forum then the user does not see that forum listed on the forum page (http://www.mysite.com/forum). So, this is good as user A cannot access the forum this way. However, if user A or any anonymous user has the complete link to a forum topic post (e.g. http://www.mysite.com/forum/forum-container/forum-name/forum-topic) then he/she can view the forum post and its comment and replies.
Is this behavior normal? Does, not belonging to a Drupal role that has permissions in Forum Access to view a forum mean that forum will only be hidden in the forum page (http://www.mysite.com/forum) for you?
Comments
Comment #1
salvisI've never seen forum topic paths as you show. Mine are of the type http://example.com/node/NID
No, this behavior is not correct. Please follow the procedure that was displayed when you posted your issue.
Comment #2
RAFA3L commentedSame problem here with any path, for example http://example.com/content/forum-topic or http://example.com/forum/forum-topic.
In my case I would like show a View list with the last 10 titles of topics in my home page, but to see the content of the topic must be a authenticated user.
And is true, the unregistered user can go to the topic using the direct link.
Comment #3
salvisSame reply as #1 above.
Comment #4
RAFA3L commentedThanks salvis, at this morning and after rebuild permissions all the forum is hidden to anonymous users.
But my block in the home page disapear and I would like to show the titles of forum topics keeping the content private, this is possible?
Comment #5
RAFA3L commentedok, I don't know if this is the best solution but I put this in my page.tpl.php and now the FA module now is not necessary
global $user;if ($node->type == 'forum' && $user->uid): print $content; endif;if ($node->type != 'forum'): print $content; endif;Comment #6
salvisNo, you can't show titles but not bodies.
Either you show a node or not, that's the fundamental mode of operation of the node access mechanism.
Comment #7
salvisI'm still a bit confused about this issue, but in the end it seems to be a duplicate of #370682: "View" and "Read" Permission, no?
Feel free to reopen if there's something we still need to discuss here.