Skip to content

Commit

Permalink
feat(guardian): add appeal_statuses filter for list approvals API (go…
Browse files Browse the repository at this point in the history
…to#16)

- add appeal_statuses filter for list user approvals API
- add appeal_statuses filter for list approvals API
  • Loading branch information
bsushmith authored Apr 28, 2023
1 parent e53c240 commit 894c7d7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions gotocompany/guardian/v1beta1/guardian.proto
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,14 @@ message DeleteProviderRequest {
message DeleteProviderResponse {}

message ImportGrantsFromProviderRequest {
string provider_id = 1;
repeated string resource_ids = 2;
repeated string resource_types = 3;
repeated string resource_urns = 4;
string provider_id = 1;
repeated string resource_ids = 2;
repeated string resource_types = 3;
repeated string resource_urns = 4;
}

message ImportGrantsFromProviderResponse {
repeated Grant grants = 1;
repeated Grant grants = 1;
}

message ListRolesRequest {
Expand Down Expand Up @@ -533,6 +533,7 @@ message ListUserApprovalsRequest {
gte: 0,
ignore_empty: true
}];
repeated string appeal_statuses = 7;
}

message ListUserApprovalsResponse {
Expand All @@ -552,6 +553,7 @@ message ListApprovalsRequest {
gte: 0,
ignore_empty: true
}];
repeated string appeal_statuses = 7;
}

message ListApprovalsResponse {
Expand Down Expand Up @@ -741,7 +743,7 @@ message PolicyAppealConfig {
string value = 2;
}
repeated DurationOptions duration_options = 1;
bool allow_on_behalf = 2;
bool allow_on_behalf = 2;
bool allow_permanent_access = 3;
string allow_active_access_extension_in = 4;
message Question {
Expand Down

0 comments on commit 894c7d7

Please sign in to comment.