Prevent associating projects from different organization with a project runner
In Cells 1.5, we'll need to prevent an organization from being moved to another cell if it contains a project runner that is shared with a project from outside its hierarchy. Conversely (and what this issue aims to address), we'll need to only allow assigning projects to a runner if those projects are located in the same organization.
Proposal
- Update
Ci::Runners::AssignRunnerService
to check that the new project is from the same organization as the owner project. - Update
Ci::Runners::SetRunnerAssociatedProjectsService
to reuseCi::Runners::AssignRunnerService