Skip to content

bug(platform): Members get a Websites bulk delete the server refuses, and imports report missing columns in English #4841

Closed

Description

@yannickmonney

Problem

Two Knowledge defects. Paths at main acd5dbd10.

# Where Code What the user sees
1 Websites table services/platform/app/features/websites/components/websites-table.tsx:234 enables row selection, and :252 renders the BulkDeleteBar for everyone. Products gates both on ability.can('write', 'knowledgeWrite') (products-table.tsx:41-42, :156, :173), as Contacts and Knowledge entries do A Member gets checkboxes and "Delete selected". The server refuses (RBAC_FORBIDDEN), and the failure toast carries the English "Your role cannot perform this action in this organization." (backend/auth/org.ts:150-157)
2 Contacts and Products import services/platform/lib/utils/file-parsing.ts:142-145 builds the literal English "Missing required column(s): … Found columns: …" A German or French user importing a file with localized headers (for example "E-Mail-Adresse") gets that English sentence in the import toast

Expected

  • (1) Gate selection and the bulk bar on knowledgeWrite, as the other Knowledge tables do.
  • (2) Return a code and the column names from the parser and render a catalog string, as the import dialogs already do for row errors.
  • Regression: a websites-table test for a Member (no checkboxes, no bulk bar), and an import test with missing columns in de.

Severity and owner

  • Severity: low–medium. (1) offers an action that can only fail; (2) is untranslated error text.
  • Owner: platform (knowledge).
  • Found by: Review A (TALE-358), 2026-10-12 08:15 Zurich occurrence, oldest-due Knowledge UX-CLARITY slice. Static reading at acd5dbd10, verified at the cited lines; nothing was run.

Activity

  1. yannickmonney commented on Oct 12, 2026

    @yannickmonney
    ContributorAuthor

    Addendum at main 363c476b5 (Review A, TALE-358, 2026-10-12 12:15 Zurich occurrence; static reading).

    Contacts: editing a contact's email to one another contact already uses gives no reason.

    • services/platform/app/features/contacts/components/contact-edit-dialog.tsx:97-104 shows "Couldn't update contact" with backendRefusalReason(error) as the description.
    • The contacts routes answer a refusal with the code only (backend/domains/contacts/routes.ts:57-58: { error: error.code }), so there is no reason to show, and the toast says nothing more.
    • The create dialog maps the same CONTACT_DUPLICATE_EMAIL to "A contact with this email already exists" (contact-create-dialog.tsx:131-149).

    Expected: map CONTACT_DUPLICATE_EMAIL, and CONTACT_DUPLICATE_EXTERNAL_ID if it applies, in the edit dialog as the create dialog does.

  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    d1f009e
  4. added a commit that references this issue on Oct 30, 2026
    03b641f
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

    agent-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions