Skip to content

Commit 50210a7

Browse files
committed
chore(changeset): spec patch for the gate booking
Claude-Session: https://claude.ai/code/session_01Eey1448sFJ5Z95gbXZh2tG Co-authored-by: Claude <noreply@anthropic.com>
1 parent a4ebbdd commit 50210a7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
---
22
'@objectstack/platform-objects': patch
3+
'@objectstack/spec': patch
34
---
45

5-
Clause-②: no
6-
76
`sys_organization` now declares an `invite_user` action at `record_header`, so an organization record page can offer "Invite User" as its primary header button. It calls `/api/v1/auth/organization/invite-member` with the record's id as `organizationId`, asks for `email` and `role` (the role picker offers only the roles the caller may grant), and is gated like the other three invite mirrors: the `organization` capability and the owner / admin / delegated_admin grades. Its `order: -1` puts it first in the header.
87

98
`leave_organization` keeps `variant: 'danger'` and now declares `order: 1`, so it sorts last among the header actions and folds into the `⋯` overflow menu instead of taking the third inline slot. Its confirmation now names what is lost: the organization's environments and members (en, zh-CN, ja-JP and es-ES).
9+
10+
`@objectstack/spec` books the new action in `PUBLIC_AUTH_FEATURES.organization.gatedInputs`, beside the other three invite mirrors.
11+
12+
Clause-②: no

0 commit comments

Comments
 (0)