From c56df548d28a41eba796d3118a604c0ef167df76 Mon Sep 17 00:00:00 2001 From: Abhishek Sah Date: Fri, 27 Mar 2026 09:42:17 +0530 Subject: [PATCH] feat(frontier): add SetProjectMemberRole RPC Support user, service user, and group principals via principal_id and principal_type fields. Co-Authored-By: Claude Opus 4.6 (1M context) --- raystack/frontier/v1beta1/frontier.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/raystack/frontier/v1beta1/frontier.proto b/raystack/frontier/v1beta1/frontier.proto index 508046fd..fc16ba36 100644 --- a/raystack/frontier/v1beta1/frontier.proto +++ b/raystack/frontier/v1beta1/frontier.proto @@ -187,6 +187,9 @@ service FrontierService { rpc DeleteProject(DeleteProjectRequest) returns (DeleteProjectResponse) {} + rpc SetProjectMemberRole(SetProjectMemberRoleRequest) returns (SetProjectMemberRoleResponse) { + } + // Policies rpc CreatePolicy(CreatePolicyRequest) returns (CreatePolicyResponse) {} @@ -2051,6 +2054,15 @@ message DeleteProjectRequest { message DeleteProjectResponse {} +message SetProjectMemberRoleRequest { + string project_id = 1 [(validate.rules).string.uuid = true]; + string principal_id = 2 [(validate.rules).string.uuid = true]; + string principal_type = 3 [(validate.rules).string.min_len = 1]; + string role_id = 4 [(validate.rules).string.uuid = true]; +} + +message SetProjectMemberRoleResponse {} + message PolicyRequestBody { string role_id = 1 [ (validate.rules).string.min_len = 3,