uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
558 stars 149 forks source link

refactor: strip existing project when adding it to an organization #3726

Closed shreddedbacon closed 3 months ago

shreddedbacon commented 4 months ago

General Checklist

Database Migrations

There exists a condition when adding an existing project to an organization that could result in a project and any groups it has being left in a disconnected state. This refactor is to make sure that the project and any access it previously had is stripped entirely when adding the project to the organization. Effectively it would appear as a fresh project (still retaining all of its environments etc. though)