Rota para apagar uma conclusão a pedido (LGPD)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, mongodb, nodejs, openapi, sqlite
Research direction
Read docs/dados-pessoais.md and the existing apagarConclusao implementations for the memory, SQLite, and MongoDB repositories to find the route and repository patterns. Then inspect api/openapi.json, docs/api.md, and the contract tests. Done means the DELETE route enforces the specified roles, returns 204 or a 404 Problem Details response, and is documented with coverage for all three repositories.
Written by the indexing model from the issue text.
Description
Objetivo
Criar a rota DELETE /v1/conclusoes/:id, só para mantenedor, para apagar uma conclusão a pedido da pessoa.
Motivo
A proposta de dados pessoais (docs/dados-pessoais.md, T10.5) promete apagar a conclusão de quem pedir. O repositório já tem apagarConclusao (memória, SQLite e MongoDB), mas não há rota HTTP: hoje seria preciso mexer direto no banco.
Critérios de entrega
-
DELETE /v1/conclusoes/:idresponde 204 para mantenedor, 401 sem sessão e 403 para pessoa sem o papel. - Id inexistente responde 404 em Problem Details.
- A rota está no
api/openapi.json(o teste de contrato confere) e nodocs/api.md. - Teste com os três repositórios (memória, SQLite e MongoDB no CI).
-
docs/dados-pessoais.mdpassa a citar a rota.
Fora desta issue
Tela no painel para pedir o apagamento. Apagar em lote.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 15h 6m
- Merged PRs (30d)
- 118
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from learnTECH-community/formacao-dev
-
Comunidade: reconhecer quem contribui, inclusive sem código (docs/comunidade/quem-contribuiu.md)Opendocumentation trilha:T11
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
learnTECH-community/formacao-dev#351 ·
Maintainers usually reply within 1 day
-
trilha:T4
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
learnTECH-community/formacao-dev#348 ·
Maintainers usually reply within 1 day
-
boa-primeira-issue good first issue trilha:T2
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
learnTECH-community/formacao-dev#347 ·
Maintainers usually reply within 1 day
-
boa-primeira-issue good first issue trilha:T2
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
learnTECH-community/formacao-dev#346 ·
Maintainers usually reply within 1 day
-
trilha:T9
Difficulty 2/5 Under an hour Newbie friendliness 72/100
learnTECH-community/formacao-dev#343 ·
Maintainers usually reply within 1 day
All issues in learnTECH-community/formacao-dev
Similar issues
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
LinkNacional/woo-rede#367 ·
-
Docs: 1 broken linkOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Add: FINTECH.TV (US)Openchannels:add check:passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
iptv-org/database#39845 · 1 comment ·
Maintainers usually reply within 1 day
-
[Sonar] javascript:S7772: Node.js built-in modules should be imported using the "node:" protocolOpensonar:maintainability sonarqube
Difficulty 1/5 Under an hour Newbie friendliness 85/100
telefonicaid/kafnus#338 ·
Maintainers usually reply within 1 day
-
fix
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
idean3885/claude-ops-agent#1257 ·
Maintainers usually reply within 1 day