Files
twenty/packages
sonarly-bot a82b599cf0 fix: guard rolePermissionFlag reads across flag-column cutover
https://sonarly.com/issue/39454?type=bug

Workspace activation failed because the server queried a dropped DB column (`rolePermissionFlag.flag`) while rebuilding permission caches. This blocks the onboarding activation mutation for affected workspaces.

Fix: I did not apply a duplicate code fix because this repository already contains the exact root-cause remediation in a recent commit:
- `d13cc7c3497b7e07968eb9f8fd8096853926ea08` (`Drop legacy rolePermissionFlag.flag column + fallback logic (#20730)`)

That change introduces upgrade-aware removal handling on `RolePermissionFlagEntity.flag` and updates the cutover shape so ORM reads no longer require the dropped column after the 2.7 finalize command, which is the exact mismatch identified in the incident RCA.

Authored by Sonarly by autonomous analysis (run 44944).
2026-05-21 15:19:28 +00:00
..
2026-05-04 11:09:34 +02:00