Vendors Troubleshooting
Symptom: "Strike records are internal" when viewing or adding strikes
Cause: Users with "own"-scoped vendor access (the vendor portal role) are deliberately blocked from strike data even though they may hold vendors edit.
Fix: Strike management is staff-only. Use an account with all-scope vendors access (System/Sales Manager).
Symptom: Portal user gets "No vendor linked to your account"
Cause: The vendor row's portal_user field does not point at this login yet.
Fix: Run portal setup for the vendor from the Vendors module so the invitation is accepted and the link is created, then log in again.
Symptom: "Vendor portal role required" when saving their own profile
Cause: Self-service updates check that the signed-in user actually holds the Vendor Portal User role.
Fix: Re-run portal setup (it grants the role) or ask an admin to assign the Vendor Portal User role to the user.
Symptom: Portal setup fails with "Vendor portal setup requires an email address"
Cause: Neither the form nor the vendor record supplied an email to invite.
Fix: Add an email on the vendor record or enter one during setup — invitations are sent through Clerk to that address.
Symptom: Bulk update rejects selection with "Choose a field to update"
Cause: Vendor bulk operations support availability status, suspension, and owner only.
Fix: Pick one of those fields before applying; rating/health edits are per-record.
