maproulette / maproulette/maproulette-backend

Random task displayed when not logged in can be from an invisible challenge

Open
#140 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BACKLOG
Dominant language
Scala
Stars
53
Forks
39
Avg merge
1d 17h
Merged PRs (30d)
12

Description

The random task you see when you go to the site without being logged in is sometimes from a project that is visible but a challenge that is invisible.

The task pool for the 'not logged in' state should only consist of visible tasks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the backend/API code that selects a random task for users who are not logged in, then inspect how project and challenge visibility are checked. The fix is complete when that task pool contains only visible tasks, including when a visible project contains an invisible challenge.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.