canonical / canonical/testflinger
Anyone can cancel any job
Open
enhancement
- Dominant language
- Python
- Stars
- 26
- Forks
- 49
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 16
Description
Currently, I can go here https://testflinger.canonical.com/jobs and cancel any job.
I'm not saying that people will do it on purpose but it could be accidental, e.g. I want to cancel a job of mine and accidentally copy another job id.
Contributor guide
Research direction
Start at the jobs page and trace the cancellation request to the server-side job cancellation entry point. Confirm how the current request identifies the job and whether ownership is checked. Done means a user can cancel their own job but cannot cancel another user's job, including when a different job ID is supplied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100