mpoiriert / draw

1 stars 4 forks source link

[SonataExtraBundle] delete batch object check base on patch #241

Closed mpoiriert closed 7 months ago

mpoiriert commented 7 months ago

If this patch https://github.com/mpoiriert/SonataDoctrineORMAdminBundle/commit/9f9768c99d63020e3b9168d4456edf2a3dc97cca.patch is applied an event is dispatched for object on "delete batch".

If configuration is enabled a "hasAccess" delete will be check for each object to prevent deletion.