FIGURE 17
Team / Brokerage Hierarchy & Access Model
OFFRPORTL — Multi-Level Agent Hierarchy, Email-Based Membership Scoping, Invite Flow, and Role-Based Page Access Control
Abstract
A computer-implemented system for managing agent team and brokerage hierarchies within a real estate offer portal. The system defines five account roles (Individual Agent, Team Leader, Team Member, Brokerage Owner, Brokerage Member) persisted via email-reference fields on the User entity (team_leader_email, brokerage_owner_email, is_team_leader, account_type). Membership is established via a two-step invite-acceptance flow: an invitation email with encoded parameters followed by an identity-verified acceptance that performs atomic dual writes to both invitee and leader user records. A ProtectedRoute component blocks Subscription page access for team and brokerage members. Team roster management is gated to leaders and owners. Both team and brokerage modes share identical backend logic, differentiated only by user entity field and UI label.
§7 — Key Patentable Claims Summary
Claim 1.A computer-implemented method for managing agent team hierarchies within a real estate offer portal comprising: storing team membership as a foreign-key-style email reference (team_leader_email or brokerage_owner_email) on the member user entity, enforcing subscription page access restrictions via a ProtectedRoute component that evaluates the presence of these fields before rendering, and providing a roster management page accessible only to users where is_team_leader = true or account_type = "brokerage".
Claim 2.The method of claim 1, wherein team membership is established via a two-step invite-acceptance flow: a sendTeamInviteEmail function dispatches an invitation email containing encoded parameters (leader_email, invitee_email, account_type), and a completeTeamInvite function atomically writes team membership fields to the invitee user entity and appends a join notification record to the leader user entity's team_join_notifications array.
Claim 3.The method of claim 2, wherein the AcceptInvite page enforces identity verification by comparing the authenticated user's email to the invitee_email URL parameter before allowing acceptance, preventing cross-account team membership assignment without server-side secret infrastructure.
Claim 4.A system for dual-mode team hierarchy management comprising: a "team" account_type for agent teams under a team leader and a "brokerage" account_type for agents under a brokerage owner, wherein both modes share identical access control logic and backend functions, and are distinguished only by the label rendered in the UI ("Team Roster" vs "Brokerage Roster") and the user entity field written (team_leader_email vs brokerage_owner_email).
Fig. 17 — Team / Brokerage Hierarchy & Access Model. Five account roles (Individual Agent, Team Leader, Team Member, Brokerage Owner, Brokerage Member) are persisted via email-reference fields on the User entity. Membership established via two-step email invite + identity-verified acceptance with atomic dual writes via completeTeamInvite. ProtectedRoute blocks Subscription page for members. TeamRoster page gated to leaders and owners. Both team and brokerage modes share identical backend logic, differentiated only by user entity field written (team_leader_email vs brokerage_owner_email) and UI label ("Team Roster" vs "Brokerage Roster").