Skip to content

Commit fef2276

Browse files
committed
chore(changeset): approver served snapshot and explain wording
Claude-Session: https://claude.ai/code/session_01L9qibvMXrDPhCt3pGziYWE Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ad17c5b commit fef2276

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@objectstack/plugin-security': patch
4+
---
5+
6+
fix(approvals): a pending approver whose only read of the record comes from the approval sees the submitted fields on the request page
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
Who sees it: an approver whose permission sets grant no read on the object they approve, and who reads the record only because an approval step is pending on them.
12+
13+
- **The request page draws the submitted record.** When the object's definition is served, the page used to filter the snapshot again by the approver's own permissions. Those grant no read of the object, so every field was dropped and the left pane stayed blank. The page now draws the snapshot as the server served it: the server has already removed the fields this reader may not read. Field permissions still narrow the page for a reader whose permission sets do grant read of the object.
14+
- **No blank pane.** When the reader's field permissions leave no submitted field to draw, the page shows "You don't have access to this object's fields; ask an administrator." instead of an empty pane.
15+
- **Access explanation.** For a read granted by a pending approval, the `object_crud` layer's detail now opens with that grant ("read on 'X' is granted via approval request N: …") and says after it that no permission set grants the read. It used to open with the permission sets' denial.
16+
- The record page (`/<object>/record/<id>`) is unchanged here.

0 commit comments

Comments
 (0)