[sync] fix: prevent collaborator tags overflow T5485#3471
Conversation
Synced from teableio/teable-ee@5b155ef Co-authored-by: Aries X <caoxing9@gmail.com> Co-authored-by: Bieber <artist@teable.io> Co-authored-by: Boris <boris2code@outlook.com> Co-authored-by: Jocky Zhou <jocky@teable.ai> Co-authored-by: Jun Lu <hammond@teable.io> Co-authored-by: Pengap <penganpingprivte@gmail.com> Co-authored-by: SkyHuang <sky.huang.fe@gmail.com> Co-authored-by: Uno <uno@teable.ai> Co-authored-by: nichenqin <nichenqin@hotmail.com>
|
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1eed8db524
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| return; | ||
| } | ||
|
|
||
| const container = await this.v2ContainerService.getContainerForTable(routedTableId); |
There was a problem hiding this comment.
Require trash permissions before restoring fields
When the V2 field-restore path is used (the new /api/trash/restore-field/:trashId/stream endpoint, or restore/:trashId for operation trash), execution reaches RestoreFieldStreamCommand without the assertTableWritable and permissionService.validPermissions(tableId, ['table|trash_update'], ...) checks that the legacy restoreTableResource path and the V2 record-restore path perform before mutating trash. In that scenario, an authenticated user who knows the table/trash ids but lacks trash-update rights can restore deleted fields and their record values.
Useful? React with 👍 / 👎.
🧹 Preview Environment Cleanup
|
🔄 Automated sync from EE repository.
234 commit(s) synced since last sync.
Authors
Included commits
ai-agent-engineT5222 T3933 (Pengap)Latest source commit: teableio/teable-ee@5b155ef
This PR was automatically created by the sync workflow.