BUGFIX returning false from canDeleteFromLive() for a DataObject did not remove the Unpublish button from CMS, but the Unpublish action returned an error. Fixes #6731.
BUGFIX returning false from canDeleteFromLive() for a DataObject did not remove the Unpublish button from CMS, but the Unpublish action returned an error. Fixes #6731.

silverstripe/silverstripe-cms,dhensby/silverstripe-reports,silverstripe/silverstripe-cms,silverstripe-labs/silverstripe-reports,silverstripe/silverstripe-siteconfig,dhensby/silverstripe-cms,helpfulrobot/i-lateral-silverstripe-siteconfig,silverstripe-labs/silverstripe-reports,jonom/silverstripe-cms,dhensby/silverstripe-reports,dhensby/silverstripe-cms,dhensby/silverstripe-cms,jonom/silverstripe-cms