Skip to content

Commit 47a3631

Browse files
committed
test(plugin-form): the write census enters the Setup catalog's three write sites this branch adds (objectui#7611)
Merging main brought objectui#12082's write census, which counts every DataSource write call site in the console tree. This branch adds three: the position holders' add and remove (sys_user_position) and the catalog switch's row write (catalog-activation's writeCatalogActive). Each is entered as `unmapped`, the same entry the census gives the sibling permission-set assignment section (AssignedUsersSection): none reads a CRUD grant on its object. The switch is offered on the caller's manage_metadata gate. Claude-Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6e5635d commit 47a3631

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/plugin-form/src/affordanceGrantMap-12082.test.tsx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,12 @@ const WRITE_SITES: Record<string, WriteSite> = {
525525
unmapped("Setup's permission-set assignment creates sys_user_permission_set rows and reads no grant on that object"),
526526
'packages/app-shell/src/views/metadata-admin/AssignedUsersSection.tsx :: AssignedUsersSection > removeUser :: delete':
527527
unmapped("Setup's permission-set assignment deletes sys_user_permission_set rows and reads no grant on that object"),
528+
'packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx :: PositionHoldersSection > addHolders :: create':
529+
unmapped("Setup's position assignment creates sys_user_position rows and reads no grant on that object"),
530+
'packages/app-shell/src/views/metadata-admin/PositionHoldersSection.tsx :: PositionHoldersSection > removeHolder :: delete':
531+
unmapped("Setup's position assignment deletes sys_user_position rows and reads no grant on that object"),
532+
'packages/app-shell/src/views/metadata-admin/catalog-activation.ts :: writeCatalogActive :: update':
533+
unmapped("the Setup catalog's active switch updates the sys_permission_set / sys_position row's active flag; it is offered on the caller's manage_metadata gate (useCanAuthorMetadata), and reads no update grant on that object"),
528534
// ── core ──
529535
'packages/core/src/actions/TransactionManager.ts :: TransactionManager > executeBatch :: batch':
530536
door('the action engine\'s transaction executor runs the operations its caller hands it'),

0 commit comments

Comments
 (0)