Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During project import, workspace and merge request created for project structure exists in GitLab despite error from endpoint #394

Open
nandhini-sarathy opened this issue Mar 20, 2022 · 0 comments

Comments

@nandhini-sarathy
Copy link
Contributor

nandhini-sarathy commented Mar 20, 2022

Importing a project involves the following steps:

  1. Create a workspace in GitLab.
  2. Add the project structure in the workspace.
  3. Create a merge request for the workspace.
  4. Update the project with tag.

Steps to Reproduce:

  1. Create a GitLab user account with permission to create workspace and merge requests, but not to update project.
  2. Invoke import project endpoint through the same account.
  3. Check the response returned from the endpoint. Excepted Response - '403 Forbidden'.
  4. Go to GitLab project overview and check for workspace and merge request created for project structure.

Expected Result:
During project import, if updating the project with tag fails, the workspace and merge request created for project structure must be deleted.

Actual Result:
Workspace and merge request created for project structure exists in GitLab despite error from import project endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant