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

Innovation day - Initial share project workflow #218

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

sra405
Copy link
Contributor

@sra405 sra405 commented Oct 12, 2023

Endpoint and administrate dashboard to allow projects to be shared and moderated.

  • is_live is used as well as user_id being null for public access to projects
  • share endpoint copies the project and nulls the user_id and sets is_live to false
  • administrate dashboard show "internal" projects (i.e. projects where user_id is null)
  • shared projects are visible in the dashboard and is_live can be set to true to make them public

Current share endpoint is a tweaked version of the remix endpoint except user_id isn't set and locale is hardcoded to en

Associated frontend changes - RaspberryPiFoundation/editor-ui#702

@cla-bot cla-bot bot added the cla-signed label Oct 12, 2023
@raspberrypiherokubot raspberrypiherokubot temporarily deployed to editor-api-p-innovation-0jsv84 October 12, 2023 07:06 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants