tracking-exposed / trex

youtube & tiktok analysis + youchoose recommendation custmizer. backend, extensions, and tooling
https://docs.tracking.exposed
GNU Affero General Public License v3.0
55 stars 15 forks source link

[Auth] Let the user wipe out their data #150

Open ascariandrea opened 2 years ago

ascariandrea commented 2 years ago

The user should be able to delete everything connected to him from our DB.

API

DELETE https://youchoose.tracking.exposed/api/v3/creator/unlink -H "x-authorization: ACTKf606****"

Step to implement this feature:

vecna commented 2 years ago

I'm not sure it should be this... the current "unlink" is a "delete everything, recommendations and videos and token" kind of thing, is not a "logout"... do not exist the logout, at the moment

ascariandrea commented 2 years ago

ok, so is only available to "admins". Got it

On Tue, 16 Nov 2021 at 13:38, Claudio Agosti @.***> wrote:

I'm not sure it should be this... the current "unlink" is a "delete everything, recommendations and videos and token" kind of thing, is not a "logout"... do not exist the logout, at the moment

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tracking-exposed/YCAI/issues/127#issuecomment-970231989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOA3Z7JTUNZ7YQEP5E23RTUMJGDBANCNFSM5IEENCOQ .

vecna commented 2 years ago

no sorry, I probably didn't explain myself.

Non è un "logout", perchè logout si intende per finire una sessione. la sessione non finisce mai, in pratica. si rimane sempre loggati nella browser extension. se vuoi cancellare il token, lo fai ad "settings"

Se invece premi "unlink" è perchè stai decidendo che non vuoi avere mai più niente a che fare con youchoose e accetti che le customizzazioni che hai fatto vengono perse.

vecna commented 2 years ago

👍 😄