def METHOD_NAME(dashboard_name):
	permitted_charts = []
	dashboard = frappe.get_doc("Dashboard", dashboard_name)
	for chart in dashboard.charts:
		if frappe.has_permission("Dashboard Chart", doc=chart.chart):
			chart_dict = frappe._dict()
			chart_dict.update(chart.as_dict())
			if dashboard.get("chart_options"):
				chart_dict.custom_options = dashboard.get("chart_options")
			permitted_charts.append(chart_dict)
	return permitted_charts