-
- Downloads
Merge branch 'fix/import-projectmember-security' into 'security'
Fix Import/Export foreign key issue to do with project members Cleans-up any foreign keys in `ProjectMember` - same as we do with the rest of the models when importing. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/23837 and https://gitlab.com/gitlab-org/gitlab-ce/issues/23739 See merge request !2020 Signed-off-by:Rémy Coutable <remy@rymai.me>
Showing
- lib/gitlab/import_export/attribute_cleaner.rb 19 additions, 4 deletionslib/gitlab/import_export/attribute_cleaner.rb
- lib/gitlab/import_export/members_mapper.rb 6 additions, 1 deletionlib/gitlab/import_export/members_mapper.rb
- lib/gitlab/import_export/relation_factory.rb 4 additions, 7 deletionslib/gitlab/import_export/relation_factory.rb
- spec/lib/gitlab/import_export/attribute_cleaner_spec.rb 5 additions, 2 deletionsspec/lib/gitlab/import_export/attribute_cleaner_spec.rb
Please register or sign in to comment