Jump to content

Recommended Posts

Posted

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’?

  • Recently Browsing   0 members

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