Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions raystack/frontier/v1beta1/frontier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ service FrontierService {

rpc DeleteProject(DeleteProjectRequest) returns (DeleteProjectResponse) {}

rpc SetProjectMemberRole(SetProjectMemberRoleRequest) returns (SetProjectMemberRoleResponse) {
}

// Policies
rpc CreatePolicy(CreatePolicyRequest) returns (CreatePolicyResponse) {}

Expand Down Expand Up @@ -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,
Expand Down
Loading