ROQL query - calculate "user access" access mask
Content
I have a case where I'm trying to get a count of new or updated answers for a page where customers can click a link related to a product or category that they added to product or category notifications and see either new or updated answers for the product or category for the last 7 days.
The following code produces the query for the new answers by category, but it doesn't honor the logged-in contact's access rights, so the counts may be off from what the contact can actually see when I create a link to the answers/list page to look at the new or updated answers.
1