feat(rbac): invitation-based membership + nav gating; no role at registration #22

Merged
tanweer919 merged 1 commits from tanweer919/lynkeduppro-crm:feat/login-methods into goutamnextflow 2026-07-13 10:56:17 +00:00
Collaborator

Removes role selection from registration; new users have no permissions and see only Dashboard + Profile (gated on crm.account.me). Adds /portal/invite for accepting invitations (registered → accept; unregistered → onboarding then redeem). Team Management shows a copyable invite link. Pairs with be-crm superadmin + invitation-accept changes (already deployed).

Removes role selection from registration; new users have no permissions and see only Dashboard + Profile (gated on crm.account.me). Adds /portal/invite for accepting invitations (registered → accept; unregistered → onboarding then redeem). Team Management shows a copyable invite link. Pairs with be-crm superadmin + invitation-accept changes (already deployed).
tanweer919 added 1 commit 2026-07-13 10:56:15 +00:00
- Registration no longer asks for a role/persona (removed the role select +
  allottee block); crm.account.register sends no persona.
- New users have no permissions → the sidebar now shows only Dashboard + Profile
  for them, gated on crm.account.me (membership + permissions). Members see the
  areas their permissions allow.
- Add /portal/invite?token=… : accepts the invite for a signed-in registered
  user, or routes an unregistered invitee through register/onboarding, which
  redeems the stashed token on completion (granting the invited role).
- Team Management: 'Copy link' on pending invites builds the invite link from
  the invitation token (no email delivery yet).
tanweer919 merged commit 6606a55207 into goutamnextflow 2026-07-13 10:56:17 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Goutam/lynkeduppro-crm#22