Fix permission validation for showing 'delete' buttons in sonata_admin types

Fix permission validation for showing 'delete' buttons in sonata_admin types