1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Resolved Bug Reports' started by Liam W, Jul 9, 2014.

  1. Liam W

    Liam W Well-Known Member

    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.
  2. Mike

    Mike XenForo Developer Staff Member

    This is sort of as designed. It relates to a possible information leak.

    If you have this structure:

    --- 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.

Share This Page