SvgPublish and “enable custom scripts” setting
If you are using the SvgPublish add-in to export to SharePoint directly, you may face a message "Access Denied", although you have full (owner) access to the target site. Meaning, after you click "Publish" in the SharePoint export dialog, you get the message: