MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / AccessDenied

Function AccessDenied

packages/react/src/pages/admin-users.tsx:106–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104// ── Access denied ───────────────────────────────────────────────────────────
105
106function 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&apos;t have access to this workspace&apos;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&apos;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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected