Removing makes from the MakeEditor should remove projects data as well

RESOLVED WONTFIX

Status

Webmaker
MakeAPI
RESOLVED WONTFIX
5 years ago
4 years ago

People

(Reporter: mjschranz, Unassigned)

Tracking

Details

(Whiteboard: icebox)

(Reporter)

Description

5 years ago
Right now whenever you use delete a make from the MakeEditor, it only actually removes it from the makeapi. It should also remove that projects data as well.
(Reporter)

Updated

5 years ago
Assignee: schranz.m → nobody
Status: ASSIGNED → NEW

Updated

4 years ago
Depends on: 960233
This will need a way for the MakeAPI server to signal to Popcorn Maker that a Make was deleted, so it can remove the project from its database - See Bug 960233

The Make API needs some way to know how to signal to the creating app how to delete a make.

I can add a `deleteurl` field to the apiuser model. Because every make now knows which app created it, we can look up the `deleteurl` of the owner for any given make and notify the owner app that the make has been removed from the makeAPI, allowing the app handle that information however it pleases.

The delete endpoint for each app should expect the request and payload to be signed with hawk with its public and private API Keys, Ensuring that only holders of the apps keys can use the endpoint to delete content.

Updated

4 years ago
Assignee: nobody → cade

Updated

4 years ago
Assignee: cade → nobody
Whiteboard: icebox

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.