
Permissions Matrix
Tables
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/members-tableThe team settings table: a seat meter, role tabs with counts, search and an inline invite row that validates the email and checks seats. Roles change in place from a menu that explains each one, the owner is locked and you can't demote yourself. Pending invites resend with a tick, 2FA and last-active show at a glance, and removing someone asks inline on their row.
Other props pass through to the root element.
defaultMembers*
Member[]
currentUserId
string
The viewer's id: their row says "You" and can't change its own role.
seats
number
Paid seats. Invites count against them.
onMembersChange
(members: Member[]) => void
| Description | |||
|---|---|---|---|
| defaultMembers* | Member[] | – | |
| currentUserId | string | – | The viewer's id: their row says "You" and can't change its own role. |
| seats | number | – | Paid seats. Invites count against them. |
| onMembersChange | (members: Member[]) => void | – |