Added permission check to list_comments_for_entry and list_comments_for_page endpoints.