Draft: feat: add organization_id to deploy keys
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Relates to issue #577244
This MR was created by Duo in Session 1179899
Changes
- Update DeployKeys::CreateService to populate organization_id from project's organization
- Add model logic to handle shared deploy keys across projects
- Implement organization_id derivation for both project-specific and shared deploy keys
- Add comprehensive tests for all deploy key creation scenarios
- Handle edge cases for cross-organization shared keys
Edited by 🤖 GitLab Bot 🤖