Skip to content

feat(frontier): add RemoveOrganizationMember RPC#475

Merged
rohilsurana merged 2 commits intomainfrom
feat/frontier-remove-organization-member
Apr 21, 2026
Merged

feat(frontier): add RemoveOrganizationMember RPC#475
rohilsurana merged 2 commits intomainfrom
feat/frontier-remove-organization-member

Conversation

@rohilsurana
Copy link
Copy Markdown
Member

Summary

  • Add RemoveOrganizationMember RPC to FrontierService in frontier.proto
  • Request takes org_id, principal_id, and principal_type (supports all principal types, not just users)
  • Placed alongside existing membership RPCs (SetOrganizationMemberRole, RemoveOrganizationUser)

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fb7d343c-0fdf-471a-bf0b-343e79936ef5

📥 Commits

Reviewing files that changed from the base of the PR and between a19715c and a855a70.

📒 Files selected for processing (1)
  • raystack/frontier/v1beta1/frontier.proto
🚧 Files skipped from review as they are similar to previous changes (1)
  • raystack/frontier/v1beta1/frontier.proto

📝 Walkthrough

Walkthrough

This change replaces the old RemoveOrganizationUser RPC with a new RemoveOrganizationMember RPC in the FrontierService protobuf. The new RPC uses RemoveOrganizationMemberRequest (fields: org_id, principal_id, principal_type) and returns an empty RemoveOrganizationMemberResponse. The previous RemoveOrganizationUserRequest/Response messages and RPC were removed.

Sequence Diagram(s)

sequenceDiagram
participant Client
participant Frontier as FrontierService
participant OrgSvc as OrganizationService
participant DB as Database

Client->>Frontier: RemoveOrganizationMember(org_id, principal_id, principal_type)
Frontier->>OrgSvc: validate request & resolve principal
OrgSvc->>DB: remove membership record
DB-->>OrgSvc: deletion acknowledgement
OrgSvc-->>Frontier: operation result
Frontier-->>Client: RemoveOrganizationMemberResponse
Loading

Suggested reviewers

  • whoAbhishekSah
  • AmanGIT07
  • rsbh
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding a new RemoveOrganizationMember RPC to the FrontierService.
Description check ✅ Passed The description is directly related to the changeset, outlining the new RPC addition, its parameters, and placement within the service.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 17, 2026

The latest Buf updates on your PR. Results from workflow Validate / validate (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedApr 21, 2026, 5:29 AM

@rohilsurana rohilsurana force-pushed the feat/frontier-remove-organization-member branch from b9da8ed to a855a70 Compare April 21, 2026 05:29
@rohilsurana rohilsurana merged commit 432d98c into main Apr 21, 2026
3 checks passed
@rohilsurana rohilsurana deleted the feat/frontier-remove-organization-member branch April 21, 2026 05:42
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.

2 participants