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

Feat/marxan 1471 allow cloning published projects #1010

Merged

Conversation

AaronPerezPerez
Copy link
Contributor

@AaronPerezPerez AaronPerezPerez commented Apr 25, 2022

Overview

Any user should be able to clone a published project, not only the members of said project

Fixes

  • Adds projectId and importId to the requested published project clone
  • Adds a clone method to project service with all the required error checks
  • Adds an endpoint to launch the published project clone process
  • Adds the new possible errors and maps them to their correct standard HTTP error codes
  • Adds the proper tests for this new functionality

Related issues

MARXAN-1471

@vercel
Copy link

vercel bot commented Apr 25, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
marxan ✅ Ready (Inspect) Visit Preview Apr 25, 2022 at 2:29PM (UTC)
marxan-storybook ✅ Ready (Inspect) Visit Preview Apr 25, 2022 at 2:29PM (UTC)

@AaronPerezPerez AaronPerezPerez merged commit 282009e into develop Apr 25, 2022
@AaronPerezPerez AaronPerezPerez deleted the feat/MARXAN-1471-allow-cloning-published-projects branch April 25, 2022 14:50
@AaronPerezPerez AaronPerezPerez self-assigned this May 9, 2022
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

Successfully merging this pull request may close these issues.

3 participants