Interesting public/private forum visibility bug (or feature?)
I just encountered some forum behavior that was a bit unexpected, so I'll pass it along here.
I'm setting up a forum that has public and private sub-forums. At the top level, I'm using "category".
I've set up different access groups -- let's say, in addition to "Registered" and "Members" I've also got "Private" and "Super Private". Where "Super Private" is a subset of the people who are in "Private".
Then I get the unexpected behavior -- people who are in the "private" group can no longer view sub-forum 2 on the main page, even though they have been given permission to view it. It would appear that they cannot see any sub-forums after they reach a sub-forum that they aren't supposed to view. In this case, they don't have permission to see sub-forum 3 (super private), which is blocking their ability to view sub-forum 2 because sub-forum 2 is ordered after sub-forum 3.
This problem only occurs on the "Main Page". If I go to "Topics View", then the person in the "private" group can see all of the posts in sub-forum 2.
And in this case, I've a got group called "Planning" to access several private sub-forums (e.g. SSM Council Forum), and a smaller group called "Steering" that is used to access one private sub-forum (SSM Steering). However, if I order the "SSM Steering" sub-forum ahead of "SSM Council Forum", then the people who are supposed to be able to see "SSM Council Forum" can no longer see it.
So my solution at the moment is to simply put "SSM Steering" at the bottom.
Re: Interesting public/private forum visibility bug (or feature?)
Thanks for the clarification. I can now confirm your observation.
In my case I have an embedded Category app with a set of forum apps as sub-forums as follows:
The top-level Category app has "Smart Application Pages set and all user permissions set at default except: Create_topic, Reply, Show_group_members, which have all columns cleared. In addition, Edit_all is set on.
My sub-apps are in this order:
1. Public ("Anyone" can view this)
2. Restricted (only "Members" can view)
3. Super-Restricted (only "Special" can view)
4. Restricted (only "Members" can view)
5. Restricted (only "Members" can view)
6. Restricted (only "Members" can view)
1. Being "Registered" grants you no additional benefits over "Anyone".
2. All those in the "Special" group are also in the "Members" group.
When I swap the positions of sub-forum 2 and 3 those in the "Members" group can then only see the public sub-forum. This is also the case if I move the Super-Restricted group to the top position in the list so it is followed by the Public group and then all the Restricted groups.
I think I would count this as a bug, as I can't think of a case when this behaviour could be regarded as useful.
Just a Volunteer Nabble Helper - because the nice folk at Nabble have helped me!
Here, the current node inside the loop is checked if it can be viewed by the visitor.
If not, we check if there is a next node at the loop and jump to that. I there is no next node, the loop stops
<tr class="[n.even_row_background/] main-row">
<tr class="[n.odd_row_background/] main-row">