Fix namespace_id being lost for github import
What does this MR do and why?
This MR ensures we're passing namespace_id to github importer when importing project via subgroup
Related issues:
- GitHub Importer - Default to the current group ... (#353936 - closed)
- Importers - Default to the current group when i... (#359130 - closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create new access token on github https://github.com/settings/tokens/new
- Open any group on your installation (for example
jashkenas
for default GDK installation) - Click
New project
->Import project
- Verify that
Github
button includesnamespace_id
(for example/import/github/new?namespace_id=29
)
(next steps are optional and verify actual functionality)
- Click GitHub link and use your access token
- Verify that
namespace_id
is present in URL - Verify that default group in dropdown is selected to group you've used to initiate project creation
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.