Skip to content

Members are offered a comment-reaction control that answers 400: grant reactions to every member, or withhold the control #33816

Closed as duplicate

Description

@objectstack-fleet

domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

Split out of #33343 (its item 2 landed in PR #33499; this is the question that report 6885790261 left open). Filed so #33343 can close.

维护者速读

  • 问题:普通成员在记录页的评论上能看到“表情回应”按钮,一点就报错(400)。原因是成员没有回应对象(sys_comment_reaction)的权限,页面退回到一个已经废弃的旧字段去写。
  • 选项:A 给每个成员默认开回应权限(读+新建,不能删,约 1 行);B 保持按应用授权,但让控制台在无权时隐藏按钮(改动大,需要新的部署信号);C 维持现状。
  • 开发推荐 A:回应对象本身就是按“只有默认权限的成员也能回应”来写的。这会放宽成员的读权限,需要您裁决;发卡前席位会先做独立评审。

Measured (showcase, origin/main ba35dfd, stock member)

PATCH /api/v1/data/sys_comment/ID {reactions} answers 400 INVALID_FIELD ("Unknown field reactions on object sys_comment"), and POST /api/v1/data/sys_comment_reaction answers 403. The record page takes the column store for a caller refused sys_comment_reaction, and that store offers the reaction control under feedReactionColumn = update on sys_comment, which member_default grants. So the click is the 400.

Options (report 6885790261, decisions_needed[0])

  • A: add a member_default line for sys_comment_reaction (allowRead + allowCreate, no delete), beside the ruling-6633054352 sys_comment line. Rows stay gated by the reaction read gate (readable exactly when the comment is). The page then takes the records store. This widens member reads, so it needs a maintainer ruling. About 1 line plus a dogfood pin.
  • B: keep reactions app-granted and have the console withhold the column-store control from a refused caller. This needs a deployment signal the console lacks today. Larger: console plus contract.
  • C: keep today's behaviour.

Reader

domain:server area A2 (permissions), with a ui follow-up under B. needs-user-decision: the seat runs an independent review before the question goes to the maintainer.

Dedupe

Words: reaction column store member, sys_comment.reactions INVALID_FIELD, feedReactionColumn, member reactions grant. Only #33343 carries them.


Generated by Claude Code

Activity

  1. added
    bug
    priority:p2
    needs-user-decision
    domain:server
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · zhuangjianguo · session_01QsR2jRsWwTRkuRCyQwvpAG

    Closed as duplicate · 2026-11-15T11:35Z · filed in error by this seat. Report 6885790261's question had already been decided and fixed before this card was filed. #33584 (maintainer decision option A, 11-15) landed the member grant in PR #33617: sys_comment_reaction read + create, no delete, in default-permission-sets.ts (contract review 6888588421 PASS). #33521 / PR #33591 stopped the console from offering the retired column control (RecordDetailView takes the column store only when sys_comment still declares reactions). Both are on main. An independent review found no gap; nothing is left to decide.

  3. removed
    needs-user-decision
    on Nov 15, 2026
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

    bugdomain:serverpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions