|
| 1 | +--- |
| 2 | +'@object-ui/core': minor |
| 3 | +'@object-ui/plugin-view': patch |
| 4 | +'@object-ui/plugin-calendar': patch |
| 5 | +'@object-ui/plugin-kanban': patch |
| 6 | +'@object-ui/plugin-form': patch |
| 7 | +--- |
| 8 | + |
| 9 | +Five write affordances that read no grant at all now read the affordance-to-grant |
| 10 | +map, so a caller without the grant is no longer offered a write the server then |
| 11 | +refuses (objectui#12082, the card's remainder). |
| 12 | + |
| 13 | +- **`object-view`'s New** (the toolbar button of the SDUI `object-view` node) |
| 14 | + reads the `listNew` row, as the console's list pages already did: the |
| 15 | + object's policy, the effective API operation set and the caller's create |
| 16 | + grant, on top of the node's `showCreate` / `operations.create` toggles. |
| 17 | +- **The calendar's quick-create** (an empty-day click, or a time-range drag in |
| 18 | + the week / day grid) reads the new `calendarQuickCreate` row, and |
| 19 | + **drag-to-reschedule** reads the new `calendarReschedule` row. A closed row |
| 20 | + withholds the handler the calendar grid draws the affordance from: no dialog |
| 21 | + on a day click, no range drag, no draggable event. A host-supplied |
| 22 | + `onDateClick` / `onEventDrop` is handed through unchanged. |
| 23 | +- **The kanban card move** reads the new `kanbanCardMove` row. A closed row |
| 24 | + draws the cards as not movable and hands the board no mover, so no drop |
| 25 | + reaches the write. |
| 26 | +- **A line-items panel's add and remove** (`record:line_items`) read the |
| 27 | + `relatedNew` and `relatedRowDelete` rows on the CHILD object, the same rows a |
| 28 | + related list reads for the same two writes. Add covers the Add button, the |
| 29 | + entry row and Duplicate; remove covers the per-row Remove. |
| 30 | + |
| 31 | +With no permission provider mounted every one of them reads open, as before. |
| 32 | + |
| 33 | +**Clause-②: yes (widening).** `AFFORDANCE_GRANTS`, exported from |
| 34 | +`@object-ui/core`, gains three rows: `calendarQuickCreate` (create), |
| 35 | +`calendarReschedule` (update) and `kanbanCardMove` (update), and with them the |
| 36 | +`ConsoleAffordance` union that `resolveAffordance` accepts. Nothing is removed or |
| 37 | +renamed. The other four packages change behaviour only. |
0 commit comments