Skip to content

Commit 67affbc

Browse files
committed
fix(spec): book sys_team.actions.add_team_member under the organization gate
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JrXUZYyTV4i588KLZRxSvJ
1 parent fd5515b commit 67affbc

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@objectstack/spec': patch
3+
---
4+
5+
fix(spec): book the team-side Add Member action under the `organization` feature gate
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`PUBLIC_AUTH_FEATURES.organization.gatedInputs` now lists `sys_team.actions.add_team_member`, right after `sys_team.actions.remove_team`. `@objectstack/platform-objects` declares that action on `sys_team` (Add Member opened from a team, which binds the team) with `requiresFeature: 'organization'`, and the booking keeps the two sides agreeing: every action gated on a feature is listed under it, and every listed input carries the gate. The membership-list copy, `sys_team_member.actions.add_team_member`, keeps its own row unchanged.
11+
12+
What to do: nothing. No key, value or predicate changes; the list gains one entry.

‎packages/spec/src/kernel/public-auth-features.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const PUBLIC_AUTH_FEATURES = {
123123
'sys_team.actions.create_team',
124124
'sys_team.actions.update_team',
125125
'sys_team.actions.remove_team',
126+
'sys_team.actions.add_team_member',
126127
'sys_team_member.actions.add_team_member',
127128
'sys_team_member.actions.remove_team_member',
128129
// Fourth mirror of the email-invite entry, at the organization record

0 commit comments

Comments
 (0)