Skip to content

Commit

Permalink
fix: add org_id in project proto (#56)
Browse files Browse the repository at this point in the history
* fix: add org_id in project protos

* fix: remove admins and member_count from Group proto
  • Loading branch information
krtkvrm authored Nov 11, 2021
1 parent 9a0f069 commit 570d09c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions odpf/shield/v1/shield.proto
Original file line number Diff line number Diff line change
Expand Up @@ -344,12 +344,10 @@ message Group {
string id = 1;
string name = 2 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string slug = 3;
repeated User admins = 4;
int32 member_count = 5;
string org_id = 6;
google.protobuf.Struct metadata = 7;
google.protobuf.Timestamp created_at = 8;
google.protobuf.Timestamp updated_at = 9;
string org_id = 4;
google.protobuf.Struct metadata = 5;
google.protobuf.Timestamp created_at = 6;
google.protobuf.Timestamp updated_at = 7;
}

message CreateGroupResponse {
Expand Down Expand Up @@ -493,6 +491,7 @@ message ProjectRequestBody {
string name = 1 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string slug = 2;
google.protobuf.Struct metadata = 3;
string org_id = 4;
}

message CreateProjectRequest {
Expand All @@ -503,9 +502,10 @@ message Project {
string id = 1;
string name = 2 [(validate.rules).string.pattern = "^[A-Za-z0-9_-]+$"];
string slug = 3;
google.protobuf.Struct metadata = 4;
google.protobuf.Timestamp created_at = 5;
google.protobuf.Timestamp updated_at = 6;
string org_id = 4;
google.protobuf.Struct metadata = 5;
google.protobuf.Timestamp created_at = 6;
google.protobuf.Timestamp updated_at = 7;
}

message CreateProjectResponse {
Expand Down

0 comments on commit 570d09c

Please sign in to comment.