AletheiaFact / AletheiaFact/aletheia

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

未关闭
#327 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
tech
主要语言
TypeScript
星标
55
派生
20
平均合并
2 天 6 小时
30 天内合并 PR
2

描述

### 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。