fix(ara-projects): repoint workstreams setup import to guards

setup/workstreams/page.tsx imported requireProjectAccess from
../../../authz, the stub #406 created and #409 deleted when it moved the
guard into src/app/projects/guards.ts. #410 (workstreams) was built in
parallel against the stub path and merged after #409, so the two landed
cleanly by git yet left a dangling import — the only tsc error in the
repo and a next build failure.

The page calls requireProjectAccess purely for its redirect/notFound
side effect and discards the return, so repointing the import is the
whole fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-23 12:58:47 +00:00
parent 2a9f6424be
commit aa505bc84f

View file

@ -1,5 +1,5 @@
import { notFound } from "next/navigation";
import { requireProjectAccess } from "../../../authz";
import { requireProjectAccess } from "../../../guards";
import { authorizeWorkstreamRequest } from "@/app/api/projects/[projectId]/workstreams/authorize";
import { listWorkstreamOptions } from "@/app/api/projects/[projectId]/workstreams/queries";
import {