developmentseed / developmentseed/osm-teams

TODO: check that a team cannot update its own id

Open
#154 1 comment 0 reactions 0 assignees View on GitHub
Category: API Type: Bug
Dominant language
JavaScript
Stars
29
Forks
4
PR merge metrics
No merged PRs in 30d

Description

In the team model, a team calls `update` with the request body coming into the API. We should write a test to see what happens when the request body includes a different id. Does this overwrite the team id?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the team model and the API update path that passes the request body to update. Add a test whose request body contains a different id, then run the relevant team-model or API test suite. Done means the test clearly records whether the team's id can be overwritten.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.