14 lines
777 B
JSON
14 lines
777 B
JSON
{
|
|
"feature_id": "F-069",
|
|
"agent": "security",
|
|
"verdict": "APPROVED",
|
|
"summary": "The description is plain text, bounded by max 500 chars in the zod schema. The admin write path is unchanged: same admin role gate as the existing method endpoints. The new public GET is read-only and filters by active=true on both zone and method.",
|
|
"evidence": [
|
|
"PATCH /api/admin/shipping/methods/:id and POST /api/admin/shipping/methods both require admin role (unchanged)",
|
|
"Public GET /shipping/methods filters sm.active = true AND sz.active = true at SQL level",
|
|
"description is z.string().max(500) — bounded, plain text",
|
|
"No new env vars, no new dependencies, no new auth surface",
|
|
"Frontend proxy is GET-only"
|
|
],
|
|
"timestamp": "2026-08-19T15:55:00Z"
|
|
} |