Files
orion/app
Samir Boulahtit f517a7ccd7
Some checks failed
CI / ruff (push) Successful in 10s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has been cancelled
fix: merchant-user-detail page derives role from user.role instead of owned_merchants_count
The User Type status card used owned_merchants_count to determine
Owner vs Team Member. Now uses user.role directly. Label changed
from "User Type" to "Role".

The other owned_merchants_count references (delete guards in
user-edit.js and user-detail.js, count display card, debug log)
are correct — they use the actual count for business logic, not
role derivation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 22:56:54 +01:00
..