Import repos rake-task doesn't respect default visibility level when creating groups
When creating groups on import, we do not respect the default visibility level set by Administrators
Steps to reproduce
- Set the default visibility level to private (
- Create a folder on the repository storage
- Create a repository in new group
- Run the import task
- The group & repository are created public
What is the current bug behavior?
The group & repository are created with the wrong visibility level (public instead of private)
What is the expected correct behavior?
The import should create groups with the default visibility level set in GitLab
Reported in https://gitlab.zendesk.com/agent/tickets/81338 (Internal only)