AletheiaFact / AletheiaFact/aletheia

Front | make it possible to see old revisions content by appending a `/:revisionId` in the endpoint

Open
#327 0 comments 0 reactions 0 assignees View on GitHub
tech
Dominant language
TypeScript
Stars
55
Forks
20
Avg merge
2d 6h
Merged PRs (30d)
2

Description

### Background Information
We need to be able to see old revisions as part of the history module tracking

### How
For now, we will put this behind an AuthGuard, because we don't how old revisions can be exploited as a source of disinformation. Furthermore, we can think on the UX to solve this question.
When accessing a claim page, we can append `/:revisionId` to the URL and we are able to see specific claims with that requested revision. If the revision doesn't exist we return a `NotFoundHTTPExcepetion` and redirect to 404 page.
### Open Questions
- Could this be exploited as a source of disinformation?

### Acceptance criteria
- [x] #368
- [ ] Front queries specific revisions when URL is accessed
- [ ] The page is behind AuthGuard
- [ ] Documentation is updated

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.