feat(manager): allow manager to create auto-approved campaigns and tests from templates
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
A manager organizes and validates work, so their own campaigns skip the draft -> submit -> pending_approval queue and go straight to active with the start_date they provide (they're the same role that would otherwise approve it). Manager can also now create tests from the catalog, same as red_lead/blue_lead.
This commit is contained in:
@@ -73,6 +73,9 @@ export interface CampaignCreatePayload {
|
||||
target_platform?: string;
|
||||
tags?: string[];
|
||||
scheduled_at?: string;
|
||||
// Only honored when the creator is a manager — auto-approves the
|
||||
// campaign immediately instead of queuing it for later approval.
|
||||
start_date?: string;
|
||||
}
|
||||
|
||||
export interface AddTestPayload {
|
||||
|
||||
Reference in New Issue
Block a user