Skip to content

Commit

Permalink
feat(frontier): batch invite user ids in org invitation (#299)
Browse files Browse the repository at this point in the history
Signed-off-by: Kush Sharma <[email protected]>
  • Loading branch information
kushsharma authored Aug 18, 2023
1 parent 9ec8320 commit 19d90af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions raystack/frontier/v1beta1/frontier.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1742,15 +1742,16 @@ message CreateOrganizationInvitationRequest {
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "unique id of the organization to which user is invited"}
];
string user_id = 2 [
repeated string user_ids = 2 [
(google.api.field_behavior) = REQUIRED,
(validate.rules).repeated = {min_items: 1, max_items: 10},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "user_id is email id of user who are invited inside the organization. If user is not registered on the platform, it will be notified"}
];
repeated string group_ids = 3 [(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {description: "list of group ids to which user needs to be added as a member."}];
}

message CreateOrganizationInvitationResponse {
Invitation invitation = 1;
repeated Invitation invitations = 1;
}

message GetOrganizationInvitationRequest {
Expand Down

0 comments on commit 19d90af

Please sign in to comment.