871 B
871 B
0046 /account/profile is one route for both roles
Status: Proposed · Area: architecture · Date: 2026-10-09 · Decided by: agent
Context
J12-2 (investor «اطلاعات کاربری») and J03 (a creator's profile with identity review) are reached from the same account row and menu item.
Decision
/account/profile in (flow) serves both. The page keeps AuthGuard and switches by role in the browser: InvestorProfileForm (560 column) or CreatorProfileEdit (640 column). Each role's organism owns its bar or title so back can ask about unsaved changes (J03-1g). Rejected creators deep-link to #identity. /account and /account/notifications sit in (main).
Alternatives
/account/profileand/account/channel-profile: two links to keep in sync for one menu item.
Consequences
The server render is the same skeleton for both roles.