As designed 'Contains no messages' on category with no permissions to view sub-forums.

Liam W

in memoriam 1998-2020
I'm not 100% sure if this is a 'bug', but is strikes as one to me.

Users that do not have permission to view threads in forums of a sub-category will see the category as (Contains no messages) on the last post column, instead of Private which it should really be.
 
This is sort of as designed. It relates to a possible information leak.

If you have this structure:

Category
--- Forum without view others
--- Forum with view others

If the "private" value is pushed up to the category, it would have to be based on last post date to determine if it were the most recent. This would lead to it display "private" when there was a new post in that forum, even if you couldn't see it. It's not a huge leak but it does still leak something.

The case where there's one forum (or they're all semi-private) could push this data up, but the code here doesn't obviously lend itself to that situation.
 
Back
Top Bottom