()
| 104 | // ── Access denied ─────────────────────────────────────────────────────────── |
| 105 | |
| 106 | function AccessDenied() { |
| 107 | return ( |
| 108 | <div className="rounded-lg border border-border bg-card p-8"> |
| 109 | <p className="font-mono text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground"> |
| 110 | Admin only |
| 111 | </p> |
| 112 | <h2 className="mt-2 text-base font-semibold text-foreground"> |
| 113 | You don't have access to this workspace's users |
| 114 | </h2> |
| 115 | <p className="mt-2 max-w-xl text-sm leading-6 text-muted-foreground"> |
| 116 | Reading every user and what they've connected requires an admin role. Ask an admin of |
| 117 | this workspace if you need it. |
| 118 | </p> |
| 119 | </div> |
| 120 | ); |
| 121 | } |
| 122 | |
| 123 | // ── Health ────────────────────────────────────────────────────────────────── |
| 124 |
nothing calls this directly
no outgoing calls
no test coverage detected