Frappe Cloud Documentation Partners Frappe School Public Chat

Dashboard chart custom permission

I understand that for a Chart based on a DocType, the role must have a Read permission on that DocType so that the Dashboard Chart will be visible in the Dashboard. For Dashboard Charts with Custom Chart Type, how do you set the permission per role?