getAcl()->check($entity, 'edit')) { throw new Forbidden(); } } }