Repository navigation
fix(policy): name PUT group organization-memberships set_group_organization_memberships - #234
Merged
csrbarber merged 4 commits intoOct 28, 2026
Conversation
…ganization_memberships Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
Original prompt from colin
|
Contributor
[Low impact] The change appears safe to merge. SummaryAdds
Reviews (4) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile |
swaroopThereItIs-workos
approved these changes
Oct 28, 2026
…zation_memberships Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…ace-group-org-memberships-hint
csrbarber
deleted the
devin/1793131650-replace-group-org-memberships-hint
branch
October 28, 2026 13:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
workos/workos#77785 publishes
PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships, which replaces every member of a group. Without a hint, oagen would name itupdate_group_organization_memberships. A partial-update PATCH on the same path is planned and should getupdate_*, so this PUT is namedset_group_organization_memberships, matching the existing full-replacement PUTsset_environment_role_permissionsandset_organization_role_permissions. The docs use the same name throughlocalOperationHintsin workos/workos#77783.This lands before the endpoint reaches the spec, so the first SDK batch already uses the right name. That avoids what happened with
revoke_link(#215), which first shipped ascreate_revoke_link. Until the PUT is inspec/open-api-spec.yaml, the hint has no effect.CI's
build:policycheck fails until #235 merges, because of the existing PUT/PATCH/authorization/groups/{group_id}/role_assignmentscollision. Merged locally with #235,build:policypasses.Link to Devin session: https://app.devin.ai/sessions/8bc149a073124f0391206d32851f0baf
Open in Devin Desktop: https://app.devin.ai/desktop/session/8bc149a073124f0391206d32851f0baf?variant=devin
Requested by: @csrbarber