import { ShieldOff } from "lucide-react"; import { useAuth } from "@/auth/useAuth"; import { Button } from "@/components/ui/button"; /** * Terminal page for an account with no freight permissions and no IAM admin * role. Reached via `resolveLandingPath`, which needs one destination that can * never bounce — every other page is permission-gated. */ export default function NoAccessPage() { const { user, logout } = useAuth(); return (
Your account has no permissions assigned yet, so there are no pages to show. Contact your administrator to have a position or role assigned.
{user?.email ? (Signed in as {user.email}
) : null}