Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontier): batch invite user ids in org invitation #299

Merged
merged 1 commit into from
Aug 18, 2023
Merged
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
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 @@
(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 [

Check failure on line 1745 in raystack/frontier/v1beta1/frontier.proto

View workflow job for this annotation

GitHub Actions / validate

Field "2" on message "CreateOrganizationInvitationRequest" changed label from "optional" to "repeated".

Check failure on line 1745 in raystack/frontier/v1beta1/frontier.proto

View workflow job for this annotation

GitHub Actions / validate

Field "2" on message "CreateOrganizationInvitationRequest" changed label from "optional" to "repeated".
(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;

Check failure on line 1754 in raystack/frontier/v1beta1/frontier.proto

View workflow job for this annotation

GitHub Actions / validate

Field "1" on message "CreateOrganizationInvitationResponse" changed label from "optional" to "repeated".

Check failure on line 1754 in raystack/frontier/v1beta1/frontier.proto

View workflow job for this annotation

GitHub Actions / validate

Field "1" on message "CreateOrganizationInvitationResponse" changed label from "optional" to "repeated".
}

message GetOrganizationInvitationRequest {
Expand Down
Loading