Skip to content

feat(frontier): add SetProjectMemberRole RPC#456

Open
whoAbhishekSah wants to merge 1 commit intomainfrom
feat/set-project-member-role
Open

feat(frontier): add SetProjectMemberRole RPC#456
whoAbhishekSah wants to merge 1 commit intomainfrom
feat/set-project-member-role

Conversation

@whoAbhishekSah
Copy link
Copy Markdown
Member

@whoAbhishekSah whoAbhishekSah commented Mar 27, 2026

Summary

  • Add SetProjectMemberRole RPC for atomic role assignment on project members
  • Add request/response message definitions with UUID validation

Related: raystack/frontier#1461

🤖 Generated with Claude Code

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 27, 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: b5b56df7-1827-491e-8c6d-e422f615ccad

📥 Commits

Reviewing files that changed from the base of the PR and between c0f7151 and c56df54.

📒 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

Added a new RPC method SetProjectMemberRole to raystack.frontier.v1beta1.FrontierService in frontier.proto. The RPC accepts SetProjectMemberRoleRequest containing project_id (UUID), principal_id (UUID), principal_type (non-empty string), and role_id (UUID), and returns an empty SetProjectMemberRoleResponse.

Changes

Cohort / File(s) Summary
Protobuf Service Definition
raystack/frontier/v1beta1/frontier.proto
Added SetProjectMemberRole RPC method to FrontierService with new request message SetProjectMemberRoleRequest (fields: project_id, principal_id, principal_type, role_id with validation rules) and empty response message SetProjectMemberRoleResponse.

Estimated code review effort

🎯 Medium | ⏱️ ~30 minutes

Possibly related PRs

Suggested reviewers

  • rsbh
  • AmanGIT07

Poem

🐰 With whiskers twitching, bright and keen,
A method new has swiftly been,
SetProjectMemberRole takes flight,
With UUIDs shining oh-so-bright!
New schema hops into the light. 🌟

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a new SetProjectMemberRole RPC method to the FrontierService.
Description check ✅ Passed The description is directly related to the changeset, mentioning the new SetProjectMemberRole RPC and message definitions with validation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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.

@whoAbhishekSah whoAbhishekSah force-pushed the feat/set-project-member-role branch 2 times, most recently from 7657a80 to f51485d Compare March 27, 2026 05:30
Support user, service user, and group principals via principal_id
and principal_type fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@whoAbhishekSah whoAbhishekSah force-pushed the feat/set-project-member-role branch from f51485d to c56df54 Compare March 30, 2026 09:16
@github-actions
Copy link
Copy Markdown

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedMar 30, 2026, 9:16 AM

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