In this case ``pageuser`` is the report owner. I think here you need to change that to:

``{% if user_is_mentor(request.user) or user_is_council(request.user) %} ``