Answers the question a shop asks on day one and nothing in the product could: what do I type into the terminal. It separates the two credentials because they are not interchangeable — a password opens a closed terminal and the account decides which shell it opens, a PIN only switches operator on one already open — and it prints the shell each account would land in rather than the raw roleid, since roleid 0 is not in app_roles and reads as nothing at all. `top` ranks outlets by products actually stocked *and* filters to ones somebody can sign in to. That filter is the point: the best-stocked outlets on the platform — Dilse at 471 products, Ninhao at 286 — have no account with a password, so a demo pointed at either opens a till nobody can unlock. Counts products through productlocations rather than per tenant, because a tenant with a full catalogue can still have an outlet stocking none of it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
6.8 KiB
6.8 KiB