[fix] entity/edit checks permission after verify if the entiry exists