Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25584

Message Boards Statistics still count threads whose parent category does not have guest view permission

    Details

      Description

      The message board statistics still count threads even though guests (and users without permissions) cannot view the parent category. Threads should inherit the category's permissions because if the user copies the URL for a thread inside a category where the guest view has been removed, pinging that URL on a separate browser will say that the user does not have permissions to view that thread - which is supposed to happen. However, this is not the same for Message Board Statistics.

      1. Add a page.
      2. Add the Message Boards portlet.
      3. Add a category called Category A.
      4. Add four threads numbered 1 through 4 under Category A.
      5. Remove the Guest View permissions for Category A so that guests cannot view Category 1. Leave alone the individual permissions for each thread.
      6. Click Statistics on Message Boards. See the 1st screenshot - it shows 1 category and four posts.
      7. Sign out.
      8. Go to the page with the Message Boards portlet.
      9. Click Statistics on Message Boards. See the 2nd screenshot - it shows 0 Categories and four posts.
      10. Sign in.
      11. Go to the Message Boards portlet.
      12. Remove the Guest View permissions for Thread 2.
      13. Sign out.
      14. Go to the page with the Message Boards portlet.
      15. Click Statistics on Message Boards.
      16. See the third screenshot - it shows 0 Categories and three posts.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 42 weeks, 1 day ago

                Packages

                Version Package