Skip to content

Commit cb561e7

Browse files
committed
docs(changeset): scope the objectui#11212 headline to what the diff publishes
The headline said the gated action stays hidden or disabled "on every action surface". For `disabled` that overclaims: only `page:header`'s disabled leg moved. The headline now names the `visible` surfaces and the `page:header` `disabled` leg, which are the two the diff changes. Claude-Session: https://claude.ai/code/session_0122Knsowci76D2rBWReCzzZ Co-authored-by: Claude <noreply@anthropic.com>
1 parent b8d647a commit cb561e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/11212-permission-gates-fail-closed.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'@object-ui/react': minor
55
---
66

7-
fix: an action gated on `current_user.can(object, verb)` stays hidden (or disabled) until the permissions payload has loaded, on every action surface, and `record:quick_actions` can answer `current_user` at all
7+
fix: an action gated on `current_user.can(object, verb)` stays hidden until the permissions payload has loaded on every action `visible` surface, a `page:header` action gated through `disabled` stays disabled, and `record:quick_actions` can answer `current_user` at all
88

99
An action whose `visible` asks `current_user.can(...)` has no answer until the signed-in
1010
user's permissions have loaded. On `action:group` (both display modes, and the group's own

0 commit comments

Comments
 (0)