Jump to content

Private community posts being publically viewable

Recommended Posts

We are currently using ‘getItemsWithPermission’ to pull topics into a sidebar, we aren’t sure if that should be filtering the posts according to users who can ‘read’ the posts or not. We have a private forum whose posts are showing in that initial list so have been using ‘$topic->canView()’ wrapped around the content which seems to do what we require.

So is that the right way to do this? Or should we be able to filter to users that can view a post with only ‘getItemsWithPermission’?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...