This week I finally hit the delete button. Using a strangler pattern, we got to the point where the legacy SaaS application was completely replaced with a new shiny web application that everyone wants to work on and develop.
As proof of the concept, we wanted to have a working project quickly so that we could test it in practice, and connecting directly to the Legacy base is quick and convenient.
Of course, this wasn’t documented anywhere, and we had to take the time to understand what number means what permissions and recreate that in the new part on Symfony user roles.
If everything was fine, we were gradually migrating data to subsequent users until everyone was using the new feature, and we could remove the legacy code and that feature flag at all.