Skip to content

Claimed organizations own their name: align name corrections #812

Closed

Description

@gxjansen

Decision

Follow-up to #810, which shipped in sifa-api#1840: a claimed organization's name now syncs to the shared entity.

Decided on 2026-11-08: the claimed organization owns its name. An admin can still override it, but only explicitly.

Gaps

The current behavior does not match that decision yet:

  • An approved name correction is stored as admin provenance, so a later org rename is silently outranked.
  • People can still submit name suggestions for claimed organizations.
  • The admin queue does not show whether an entity is claimed.
  • Pending suggestions go stale after an org renames itself.
  • The link-companies doc says nothing changes on one party's say-so, which contradicts company-pages.

Plan

API

  • Add a GET eligibility endpoint for a name-suggestion target, returning managedByOrg and the org handle.
  • Creating a suggestion for a claimed entity returns 409.
  • The admin list gains a claimedBy field.
  • Approving a correction for a claimed entity requires an explicit override flag.
  • An org self-rename closes any pending suggestions for that entity.

Web

  • The suggestion dialog shows a note instead of the form for claimed orgs.
  • The admin queue shows a claimed badge with the org handle, plus an override checkbox on approve.

Docs

  • Update link-companies and company-pages: corrections apply to unclaimed orgs; claimed orgs rename themselves.

Activity

  1. github-actions commented on Nov 8, 2026

    @github-actions

    Triage report

    This is a follow-up to #810 (shipped in sifa-api#1840) that aligns name corrections for claimed organizations with the 2026-11-08 decision: a claimed organization owns its name, and only an explicit admin override changes it. The listed gaps map directly onto the plan's API, web, and docs items, so routing is to the company-pages / organization-names work with no labels applied.

    Assessment Result Reasoning
    Type Task Decided scope with a concrete plan across API, web, and docs; not a user-reported defect or new feature
    Area profile (company pages) Organization names on company pages and linked profile entries; no auth or Kootana involvement
    Coding agent Suitable in parts Requirements are explicit; the web items depend on the new API endpoint and flags
    Jev (shadow) none Partial: both leave labels unset. Jev's bug/feature split (0.51/0.48) is below its 0.6 floor, so it suggests no type; stream agrees (sifa)

    Similar issues

    Next step

    Split into three sub-tasks: (1) API: eligibility endpoint, 409 on claimed entities, claimedBy in the admin list, override flag on approve, close pending suggestions on org self-rename; (2) Web: suggestion dialog note and admin claimed badge/override checkbox, after the API lands; (3) Docs: update link-companies and company-pages.

  2. gxjansen commented on Nov 8, 2026

    @gxjansen
    ContributorAuthor

    Test steps

    Shipped in singi-labs/sifa-api#1841, singi-labs/sifa-web#2613, singi-labs/sifa-docs#398.

    Setup: one QA test org with a claimed page, one QA personal account with a position linked to that org, and one unclaimed org also linked to a position.

    1. With the personal account, edit the position linked to the claimed org and choose Suggest a name correction.
      Expected: a note naming the org handle, the link opens the org page in a new tab, no form is shown, focus lands on Close.
    2. Same flow for the position linked to the unclaimed org.
      Expected: the form appears as before and submitting works.
    3. As admin (Guido), open /admin/name-corrections and find a suggestion filed for an org that was claimed after the suggestion was filed.
      Expected: a "Claimed by" line is shown and Approve stays disabled until Override is ticked.
    4. In org settings, rename the test org itself.
      Expected: pending suggestions for that org leave the queue and appear under the Declined tab.
    5. Check docs.sifa.id/docs/link-companies.
      Expected: a section titled "When the organization manages its name".
  3. mykhailo-com commented on Nov 12, 2026

    @mykhailo-com

    Claimed org: a11y.nl; unclaimed org: zendesk.com; personal account: mykhailoqa.

    # Check Result
    1 Position linked to the claimed org (A11Y.nl) -> "Suggest a name correction": note names @a11y.nl, no form, link opens the org page in a new tab, focus lands on Close PASSED
    2 Position linked to an unclaimed org (Zendesk) -> the form appears as before; "Send suggestion" disabled while the name is unchanged; submitting "Zendesk, Inc." shows "Thanks. We'll review your suggestion." PASSED
    3 /admin/name-corrections: the new Zendesk suggestion shows without a "Claimed by" line and Approve is enabled (unclaimed org) PASSED
    4 docs.sifa.id/docs/link-companies has the section "When the organization manages its name" PASSED

    Not covered (needs an admin and a suggestion filed before the org was claimed):

    • "Claimed by" line + Approve disabled until Override is ticked: the queue has no suggestion filed for an org that was claimed afterwards, and a new one can't be filed for a claimed org, so I couldn't reproduce it.
    • Org self-rename moving pending suggestions to Declined: a11y.nl has no pending suggestions for the same reason.
    • claimedBy in the admin API response: not checked.

    @gxjansen everything I could reach works. Could you check the two admin steps above on your side and close this one? Or close it as is if this result is enough for you.

    My test suggestion (Zendesk -> "Zendesk, Inc.", note "QA #812 test, please ignore") was declined after the test.

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

Metadata

Metadata

Assignees

Labels

stage:alphaBlocks the Alpha to Beta gate

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions