Skip to content

Auth: Web dashboard — Members & Invites settings pages #129

@EricGrill

Description

@EricGrill

Auth System — Web Step 3

Admin/farm owner pages to manage team members and send invites.

New pages:

  • web/src/pages/Members.tsx — list farm members with roles
  • web/src/pages/Invites.tsx — create/view/revoke invites

Members page:

  • Table: name, email/phone, role, joined date
  • Change role dropdown (with hierarchy validation)
  • Remove member button with confirmation

Invites page:

  • Form: email or phone, role selector
  • Pending invites list with expiry countdown
  • Resend / revoke buttons
  • Show invite link for manual sharing (WhatsApp, etc.)

Sidebar: Add "Settings" section with Members + Invites links (visible to farm_owner/admin only)

Depends on: Role management endpoints (#126), web login
Design doc: docs/AUTH.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions