Update:
I found this article: https://www.relevanssi.com/knowledge-base/private-posts-custom-post-types/ and I added the following function:
add_filter('relevanssi_private_cap', 'private_ticket_cap');
function private_ticket_cap($cap) {
if ($cap == 'read_private_ticket') $cap = 'view_private_ticket';
return $cap;
}
But it still seems to be not working. I also tried read_private_tickets and view_private_tickets. I also tried reindexing. Any help?
According to Awesome Support documentation, the relevant permissions are:
view_private_ticket
view_ticket