canonical / canonical/testflinger

Anyone can cancel any job

Open
#292 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.