Skip to content
rw3iss Auth

CompleteOrgAdminFlow

flow @rw3iss/auth-client/preact/flows/CompleteOrgAdminFlow framework-adapters/preact/components/flows/CompleteOrgAdminFlow.tsx ↗

One-page org administration surface. Composes:

  • OrgSettingsForm (name / slug)
  • InviteMemberForm + InvitationsAdminList (pending invites)
  • MembersList (current members)
  • OrgRoleEditor (custom roles + permission picker)

Use under /settings/organization. Requires the caller’s active org context — read from useOrg() — and the relevant org:* permissions for each section (each child gates server-side).

Invite + pending-list are wired so a successful invite re-fetches the pending list automatically (via the refreshKey prop on InvitationsAdminList).

Usage

import { CompleteOrgAdminFlow } from '@rw3iss/auth-client/preact/flows';
<CompleteOrgAdminFlow />

Props

NameTypeDescription
clientAuthClient
orgIdstring
classNamestring