Skip to content

Setup: the built-in permission set storage_attachment_member ("Attachments: read and attach (every member)") has no zh-CN label #33986

Closed

Description

@objectstack-fleet

Filing class: ① user-visible defect (untranslated label) — reach: public door, measured in a browser. Reader: domain:server lane — whichever package declares the storage_attachment_member permission set (the attachment opt-in work of 18.4.0) and its zh-CN bundle.

Symptom

Setup → 权限集分配 in a zh-CN Console lists every built-in permission set in Chinese (查看者 — 只读, 成员 — 标准访问, 组织管理员 …) except one: Attachments: read and attach (every member) (storage_attachment_member), which renders in English.

Measured on 18.5.0 (npm), objectstack-ai/hotclm pnpm demo:zh, dev admin, Console language zh-CN, /_console/apps/com.objectstack.setup/component/security/permission-set-assignment. Screenshot 31-setup-permission-sets.png in the hotclm 18.5 upgrade report.

Expected

The set's label (and description, if any) ships a zh-CN translation like its siblings; the platform's i18n coverage gate counts it.

Business reason

An administrator assigning access reads one English row among Chinese ones; it is the set every member holds for attachments, so it is one an admin is likely to open.

Dedupe: objectstack issues (all states) for storage_attachment_member — 13 hits, all QA runs / attachment-access cards, none about its label.


Filed from the hotclm 18.5.0 upgrade browser regression (2026-11-15).

Activity

  1. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:server · p3 · 2026-11-15T15:51Z

    ⛔ Not a claim.

    The built-in permission set storage_attachment_member shows in English in a zh-CN Setup. One missing translation, so p3.

  2. added
    domain:server
    pm:queue
    on Nov 15, 2026
  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibyy9KSA69EGZtjDj9c

    Claim: PM loop, area d7-A of seat repo:objectstack#7 (seat post #35557) · p3 close-out · executed by an os-dev subagent of the area d7-A thread · 2026-11-20T07:37Z
    Session: session_01L9qibyy9KSA69EGZtjDj9c
    Account: os-tesla
    Branch: claude/project-thread-aru6wr (this thread can push only its designated branch, a measured platform exception; the dev pushes only after the branch's PR ahead of it, #35758 for #35440, has merged)
    Worktree: objectstack-issue-33986
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: d7-A
    File surface: the translation home that owns the storage_attachment_member permission set's label and description (to measure: packages/services/service-storage/src/translations/** and its generator inputs, or packages/plugins/plugin-security/src/translations/permission-sets.ts), the test that pins it, a changeset (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: default (no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the built-in permission set storage_attachment_member (service-storage attachment-member-grant.ts) ships an English label and description with no zh-CN (or other locale) translation, unlike its siblings in plugin-security's permission-sets bundle (objectstack) | none | admins on Setup → permission-set assignment in a non-English Console
    Pre-claim lane: repo:objectstack area d7-A (built-in permission sets, security setup surface), domain:server by path
    Pre-claim deps: no Blocked-by:; no open PR on the translation files found (search is:pr is:open translations permission: 0)
    Prior rulings read: check-prior-rulings.mjs --card 33986 --paths packages/services/service-storage/src/attachment-member-grant.ts → 209 word hits, none on permission-set translations; surface: maintainer ruling 6879388034 (what the set grants) and the ⛔ at L124 (when the grant may be called) bind the grant itself, which this card does not touch; thread: none
    Thread-read: 6897164719
    Premise: holds (origin/main: zhCNPermissionSets in plugin-security has no storage_attachment_member row; the set is declared in service-storage with an English label)
    Serial constraints cleared: PR #35758 on this branch goes first

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibyy9KSA69EGZtjDj9c
    os-dev-report

    Report: #33986 · PR #35796 · head f6ce5b4 · 2026-11-20T08:19Z

    {
      "issue": 33986,
      "status": "done",
      "branch": "claude/project-thread-aru6wr",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35796",
      "head": "f6ce5b4b7bf25d91b8ac64dd6e431314f6b22c51",
      "session": "session_01L9qibyy9KSA69EGZtjDj9c",
      "premise_still_valid": true,
      "summary": "H1 holds: plugin-security permission-sets.ts has no storage_attachment_member row, and its pin (permission-set-descriptions.test.ts, 'translates exactly the built-in sets') forbids one, so the owner home is service-storage (H2): new hand-authored translations/permission-sets.ts with label+description for the 10 sibling locales, wired as the permissions group beside the generated objects in StorageTranslations (plugin-security's shape); no generated file touched. The i18n service deep-merges both bundles (loadTranslations), so GET /meta/permission serves both groups. Labels keep the English label's colon shape (repo rule), not the siblings' dash split; English source text, grant and contribution timing untouched. Net 123 code lines (+10 changeset) vs ~80 budget: ~40 lines are the 10-locale string data.",
      "tests": "new src/translations/permission-sets.test.ts: Tests 24 passed (24); service-storage test: Test Files 87 passed (87), Tests 1697 passed | 1 skipped (1698) at 50a8e086fd; final head f6ce5b4b7b focused 3 files Tests 36 passed (36). Ablation via ablation-replace.mjs deleting the permissions line in withSets (anchor 1->0, blob ab15c3d0615e->6f1df31f0bcd): Tests 12 failed | 12 passed (24); restored blob == HEAD, git diff HEAD empty. Src-relative imports, no dist leg.",
      "gates": "lock VERDICT command-exit 0 for closure build, test+typecheck (check:test-typecheck OK), final-head typecheck+check:nul-bytes+check:i18n-stale-fill. dispatch-gates --ran: 65 derived, 63 run exit 0, 2 UNRUN = NOT MEASURED: check:i18n and check:dual-build-cjs-loads, reason: exit 3 prerequisite not met (whole workspace build), declared to CI. 55 of the derived families ran at 50a8e086fd (pre-merge of origin/main, pre comment trim). overlap-check --branch=HEAD: VERDICT clean exit 0. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-② no",
      "mcp_calls": "0",
      "api_writes": "3 — git push (claude/project-thread-aru6wr, empty lease after #35758 merged and 0 open PRs on head); relay pr_create (POST pulls + POST issues/35796/assignees, read-back identical 5534 bytes); post-stamped comment on issues/33986",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  6. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-tesla · session_01L9qibyy9KSA69EGZtjDj9c

    Close-out · 2026-11-20T09:09Z: delivered whole by PR #35796 (merged 2026-11-20T09:08Z, merge commit 7878cf05; L1 ACCEPT 7034710866). The built-in storage_attachment_member permission set now shows a translated label and description in the same ten locales as its plugin-security siblings, so a non-English Console's permission-set assignment no longer shows it in English. What the set grants, and when it is contributed, is unchanged. Optional follow-up from L1, not owed: pin the English source strings beside the translations so a changed English label reds the stale locales. Nothing remains on this card. pm:dispatched removed now that the card is closed.

  7. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:datadomain:serverpriority:p3

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions