Skip to content

Commit 36019fc

Browse files
authored
refactor(frontier): remove deprecated fields from list member request messages (#483)
* refactor(frontier): remove deprecated permission_filter from ListOrganizationUsersRequest * refactor(frontier): remove permission_filter from ListProjectUsersRequest * refactor(frontier): remove with_roles from list member request messages * refactor(frontier): rename role_filters to role_ids with UUID validation in ListOrganizationUsersRequest
1 parent 7523cfd commit 36019fc

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

raystack/frontier/v1beta1/frontier.proto

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,10 +1603,9 @@ message ListOrganizationAdminsResponse {
16031603

16041604
message ListOrganizationUsersRequest {
16051605
string id = 1 [(buf.validate.field).string.min_len = 3];
1606-
string permission_filter = 2 [deprecated = true];
1606+
reserved 2, 3;
16071607

1608-
bool with_roles = 3;
1609-
repeated string role_filters = 4;
1608+
repeated string role_ids = 4 [(buf.validate.field).repeated.items.string.uuid = true];
16101609
}
16111610

16121611
message ListOrganizationUsersResponse {
@@ -1867,9 +1866,7 @@ message ListProjectAdminsResponse {
18671866

18681867
message ListProjectUsersRequest {
18691868
string id = 1 [(buf.validate.field).string.min_len = 3];
1870-
string permission_filter = 2;
1871-
1872-
bool with_roles = 3;
1869+
reserved 2, 3;
18731870
}
18741871

18751872
message ListProjectUsersResponse {
@@ -1884,7 +1881,7 @@ message ListProjectUsersResponse {
18841881

18851882
message ListProjectServiceUsersRequest {
18861883
string id = 1 [(buf.validate.field).string.min_len = 3];
1887-
bool with_roles = 3;
1884+
reserved 3;
18881885
}
18891886

18901887
message ListProjectServiceUsersResponse {
@@ -1899,7 +1896,7 @@ message ListProjectServiceUsersResponse {
18991896

19001897
message ListProjectGroupsRequest {
19011898
string id = 1 [(buf.validate.field).string.min_len = 3];
1902-
bool with_roles = 2;
1899+
reserved 2;
19031900
}
19041901

19051902
message ListProjectGroupsResponse {
@@ -2129,8 +2126,7 @@ message UpdateGroupRequest {
21292126
message ListGroupUsersRequest {
21302127
string id = 1;
21312128
string org_id = 2;
2132-
2133-
bool with_roles = 3;
2129+
reserved 3;
21342130
}
21352131

21362132
message ListGroupUsersResponse {

0 commit comments

Comments
 (0)