26 Commits
Author SHA1 Message Date
Davide Silvestri 8358c36013 fix: allow editors to drag and drop cards in a restricted Kanban view (#5569)
* fix: allow editors to drag and drop cards in a restricted Kanban view

Drag and drop in a restricted Kanban view was gated on the table-level
`database.table.move_row` permission, which invited editors (who only hold
a role on the view scope) don't have. Editing the same status field by
expanding the row worked because row updates fall back to the view-level
`database.table.view.update_row` permission, but no equivalent existed for
moving rows.

Add a `database.table.view.move_row` operation and give `move_row` the same
view-permission fallback as `update_row`: grant it to the editor role,
allow it on personal views, thread an optional `view` through the move
endpoint/action/handler (including the row read-for-update), and check the
view-level permission in the Kanban drag gate.

Fixes #5568

* address copliot feedback

* fix: allow editors to undo/redo row moves in a restricted view

Pass the view through the permission checks in MoveRowActionType.undo/redo so editors with only view-level access can undo and redo moves without hitting PermissionDenied.

* fix: bundle kanban stack move into a single undo/redo step

Share one action group id between the single select value update and the row move so moving a card across stacks is undone and redone in one step.

* refactor: extract table-or-view permission helper in KanbanViewStack
2026-06-25 13:50:12 +02:00
Bram 6a4b56174d feat (View level permissions) [4/6]: Hidden fields (#5007) 2026-03-31 20:54:10 +02:00
Bram 1a5fe5e78c [3/6] View level permissions - Rows (#4072) 2025-12-03 20:54:40 +01:00
Cezary Statkiewicz 37ddb0f7d5 Date dependency #3735 2025-09-12 15:11:29 +02:00
Cezary Statkiewicz b746151bee #1788 paste rows into sorted grid - paste values into new rows instead of updating existing ones 2025-04-29 08:48:31 +02:00
Davide Silvestri bdf7d3e8c7 Resolve "The notification mode settings is not shown correctly if the row is not in the view" 2025-02-10 16:49:10 +00:00
Davide Silvestri 544e2e78c4 Resolve "Use full text search when searching for related rows" 2024-11-13 11:33:14 +00:00
Afonso Silva f681661b67 Resolve "Add "related row" selector" 2024-09-19 13:39:45 +00:00
Bram Wiepjes dfc5000045 Filter on link row selection 2024-07-09 15:05:11 +00:00
Peter Evans 75316a4a6e Resolve "Implement Postgres full-text search" 2023-07-05 16:01:03 +00:00
Peter Evans 0426ead072 Resolve "Rename group to workspace in frontend code." 2023-03-28 14:40:58 +00:00
Alexander Haller f91b73ab95 Resolve "Creating multiple rows at once" 2023-02-23 08:43:10 +00:00
Alexander Haller 93bfd27103 Resolve "Navigation through the full row view: going to previous/next row using ← and → keys." 2022-09-22 14:21:22 +00:00
Jrmi cc3c505598 Fix broken call grouping when calling getName for linked rows 2022-09-06 12:51:34 +00:00
Jrmi b474877b98 Add a rich/text-only copy/paste mode 2022-08-05 13:52:33 +00:00
Zuhair Rayyes 3cb91f18c5 Multi-Row Delete 2022-05-25 20:50:38 +00:00
Zuhair Rayyes 22ee2f79a5 Multi-Cell Paste 2022-05-05 07:42:53 +00:00
Jrmi 8e273e6960 🌈 3️⃣ - Row coloring v3 - Add condition value provider 2022-04-30 11:25:25 +00:00
Bram Wiepjes fa75fbbd0d Resolve "Show related row by clicking on a link row relationship" 2022-04-26 13:06:33 +00:00
Bram Wiepjes c9fbfb714f Resolve "Ordering of rows by drag and drop" 2021-05-07 09:49:31 +00:00
Bram Wiepjes 978567897a Resolve "Add new row on a given position" 2020-12-18 12:01:37 +00:00
Bram Wiepjes fe31605fef Resolve "Foreignkey field / connecting rows" 2020-08-28 09:48:37 +00:00
Bram Wiepjes 9a76e67da3 Resolve "Fix wrong client instance bug" 2020-05-20 15:01:56 +00:00
Bram Wiepjes b27f453050 Resolve "Upgrade python and js dependencies." 2020-03-31 14:15:27 +00:00
Bram Wiepjes be2c5c4d4f Resolve "Web frontend refactor" 2020-03-27 13:19:43 +00:00
Bram Wiepjes 59181e4351 Resolve "Manage rows and grid data" 2020-03-24 19:22:34 +00:00