fix(tests): restrict on-hold to techs and admin, remove leads
Aegis CI / lint-and-test (push) Waiting to run
Snyk Security Scan / Python vulnerabilities (backend) (push) Waiting to run
Snyk Security Scan / npm vulnerabilities (frontend) (push) Waiting to run
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Waiting to run

This commit is contained in:
kitos
2026-06-19 10:01:42 +02:00
parent 4e1f35c250
commit 4e71217dd7
2 changed files with 3 additions and 3 deletions
@@ -127,7 +127,7 @@ export default function TestDetailHeader({
const HOLDABLE_STATES: TestState[] = ["draft", "red_executing", "blue_evaluating"];
const canHold =
HOLDABLE_STATES.includes(test.state) &&
(role === "red_tech" || role === "blue_tech" || role === "red_lead" || role === "blue_lead" || role === "admin");
(role === "red_tech" || role === "blue_tech" || role === "admin");
const renderActions = () => {
const buttons: React.ReactNode[] = [];