Skip to content

fix(organizations): require an administrator to add organization members - #480

Merged
Bccorb merged 2 commits into
mainfrom
fix/org-member-consent
Oct 21, 2026
Merged

Bccorb merged 2 commits into
mainfrom
fix/org-member-consent

Conversation

@Bccorb

@Bccorb Bccorb commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Fix for GHSA-v2q2-q246-8chm, published with 0.19.4. See the changeset for behaviour and upgrade notes. Checks were run in the private advisory fork; CI runs here.

POST /organizations/{organizationId}/members takes admin:write, and member listings show phone and global roles only to admin:read callers.
serializeMembership now defaults to the non-admin projection, so a new path that forgets the option cannot leak them.
@Bccorb
Bccorb merged commit 7b55e41 into main Oct 21, 2026
7 checks passed
@Bccorb
Bccorb deleted the fix/org-member-consent branch October 21, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant