Skip to content

Step 4.2 follow-up: an active client with no owner makes the Central answer 500 #62

Open

Description

@leandrotcawork

Found by the step 4.2 reviews (Opus item 8, Sonnet item 10) of #52 and triaged as Issue futura (delivery L12).

Client.state ACTIVE requires one owner or more (packages/hub-api/src/operations.ts, owners.min(1)). A company with members and no owner would make readOperatedCompanies fail to parse, and the list and the client answer 500. Nothing can create such a company today.

Trigger: the first step that removes members or changes roles (step 5 or later).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions