KamoCRM

Add Lead goes to the list when its creator may not open the new lead

Fixkamo-internal
Shipped
September 28, 2026 at 6:40 PM UTC
Author
Kamo
Commit
5c1adbf

A lead created with "Auto Assign / Unassigned" joins the assignment pool, owned by nobody, and the lead page refuses a member without VIEW_UNASSIGNED_LEADS on a product that is not free-for-all (ruled intended, SP99-T13). The form always opened the new lead, so every Standard Team Member, human or AI, who kept the default assignee landed on "Forbidden: missing right VIEW_UNASSIGNED_LEADS". It now asks the lead GET (leadsApi.canOpenLead: only a 403 is no) and goes to /leads when the answer is no; the "Lead created" toast is unchanged.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing