D99 · A member sees every rental company only by a flag; no rental company means no cars
Proposed · 2026-11-13 · zuki, in the team session on #456 (follow-up #616); it binds when this page's pull request is merged · Applies to access (ACC), migration (MIG) · Partly superseded by D100: the tab gives the flag through a control of its own · Partly superseded by D108: the operator's own cars belong to a rental company, which a list may include
Decision: A membership either has all rental companies, a flag, or a list of rental companies. A new membership has the flag. A member with the flag sees the cars of every rental company of the organization, including companies added later, and the operator's own cars, which belong to no rental company. A member with a list sees only the cars of the companies in it. A member with neither the flag nor any company sees no cars. The Rental companies tab shows the flag as every box ticked. Clearing every box saves an empty list, not the flag.
Why: Today a member with no rental company has no limit, so the tab shows an unlimited member and a member cut off from everything the same way: no boxes ticked. zuki wants the screen to read as it means. Every box ticked should mean sees everything, and no box ticked should mean sees nothing. A flag rather than one link per company keeps "everything" true when a company is added, without a step that links it to every member.
Consequences:
- The rules on what a member sees change:
- R-ACC-42 and 43 (no rental company means limited only by pools).
- R-ACC-148 (an empty set asks to confirm, because it lifts the limit).
- R-ACC-150 (a scoped caller may not lift a limit).
- R-ACC-152 and 165 to 168 (a member with no limit counts as outside a scoped caller's set). That member becomes a member with the flag.
- A scoped caller can never give the flag, as they can't today lift a limit (R-ACC-150). A member with the flag is outside every scoped caller's set.
- The operator's own cars are seen only by members with the flag. A list never includes them.
- The v1 migration gives a login with no allowed_partners the flag, not an empty list (R-ACC-76), so no moved login loses cars.
- Invitations: an invitation from an unscoped inviter gives the flag. One from a scoped inviter gives its set, as R-ACC-154 and 155 say today.