Skip to content

Fix low-role GenericObject capability exposure (0.183.329) - #66

Merged
chen21019 merged 1 commit into
mainfrom
fix/generic-object-low-role-capabilities
Oct 2, 2026
Merged

chen21019 merged 1 commit into
mainfrom
fix/generic-object-low-role-capabilities

Conversation

@chen21019

@chen21019 chen21019 commented Oct 2, 2026 •

Copy link
Copy Markdown

修正範圍

QA Server v1.6.497 的 restricted 帳號可從 v1 GenericObject 讀取 Receiver capability;僅讀取並比較雜湊,沒有呼叫執行端點。

沿用既有 schema authorization:readonly/restricted 隱藏 GenericObject key 與 resourceData,同步修正實際 v1 frozen schemas。Owner/member/project/service 保留原有欄位與功能;不更改 plugin 邊界、DB、OIDC、HAProxy 或執行端點。

驗證

  • 修補前針對性測試:4 項中 2 項預期失敗,0 error/skip。
  • 修補後:4 項 overlay/response projection 與 2 項實際 v1 snapshot 測試通過。
  • Frozen schema producer 驗證完整 persisted contract,僅 GenericObject/Register 的兩欄位改變。
  • WAR gate 比對包內兩份 frozen schema 與受審原始檔的完整 bytes。
  • 獨立原始碼審查未留下具體阻塞;正式 CI、成品及 QA 部署後角色/UI 回歸仍須通過,不以本地測試代替。

新版本 0.183.329,既有 numeric tag 不覆寫。既有現場重現與 HOLD 收據保留;測試 fixture 已由原建立者正常 DELETE 回收。

@chen21019
chen21019 requested a review from a team as a code owner October 2, 2026 01:32
Comment thread scripts/java/UpdateFrozenGenericObjectSchemas.java Fixed
Comment thread scripts/java/UpdateFrozenGenericObjectSchemas.java Fixed
Comment thread scripts/java/UpdateFrozenGenericObjectSchemas.java Fixed
Comment thread scripts/java/UpdateFrozenGenericObjectSchemas.java Fixed
@chen21019
chen21019 force-pushed the fix/generic-object-low-role-capabilities branch from 018a70d to befd233 Compare October 2, 2026 01:35
@chen21019
chen21019 force-pushed the fix/generic-object-low-role-capabilities branch from befd233 to 14e3f09 Compare October 2, 2026 01:37
@chen21019
chen21019 merged commit b461376 into main Oct 2, 2026
7 checks passed
@chen21019
chen21019 deleted the fix/generic-object-low-role-capabilities branch October 2, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants