fix: User Permission issue in Reports (#8459)
fix: User Permission issue in Reports (#8459)

Data was not getting filtered properly because `get_linked_doctype`
was returning empty for some reports.
StrellaGroup/frappe,saurabh6790/frappe,adityahase/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,adityahase/frappe,mhbu50/frappe,saurabh6790/frappe,saurabh6790/frappe,frappe/frappe,mhbu50/frappe,almeidapaulopt/frappe,almeidapaulopt/frappe,vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe,mhbu50/frappe,vjFaLk/frappe,StrellaGroup/frappe,yashodhank/frappe,adityahase/frappe,frappe/frappe,saurabh6790/frappe,yashodhank/frappe,yashodhank/frappe,frappe/frappe,adityahase/frappe,mhbu50/frappe,StrellaGroup/frappe,yashodhank/frappe