anitab-org / anitab-org/mentorship-backend
feat: Add report violation feature endpoint
- Linguagem predominante
- Python
- Estrelas
- 200
- Forks
- 449
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
## Description
As a user, I may want to report a violation of code of conduct in current relation. So that org admins can take action towards the reported user.
**Details**
Make an endpoint which accepts the task/comments details send by the frontend.
Registered admins/org admin will get an email included necessary details of user, task, task comment and relation.
## Acceptance Criteria
### Update [Required]
- [ ] Create /report endpoint which accepts details of reported task/comment.
- [ ] Document changes in the code
## Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.
## Estimation
6 hours
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.