Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 9 additions & 1 deletion api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,14 @@ message AccessCapabilities {
repeated string SuggestedReviewers = 2 [(gogoproto.jsontag) = "suggested_reviewers,omitempty"];
// ApplicableRolesForResources is a list of the roles applicable for access to a given set of resources.
repeated string ApplicableRolesForResources = 3 [(gogoproto.jsontag) = "applicable_roles,omitempty"];
// RequestPrompt is an optional message which tells users what they aught to request.
string RequestPrompt = 4 [(gogoproto.jsontag) = "request_prompt,omitempty"];
// RequireReason indicates whether the request strategy is one that requires
// users to always supply reasons with their requests.
bool RequireReason = 5 [(gogoproto.jsontag) = "require_reason,omitempty"];
// AutoRequest indicates whether the request strategy indicates that a
// request should be automatically generated on login.
bool AutoRequest = 6 [(gogoproto.jsontag) = "auto_request,omitempty"];
}

// AccessCapabilitiesRequest encodes parameters for the GetAccessCapabilities method.
Expand Down Expand Up @@ -2341,7 +2349,7 @@ message RoleOptions {
(gogoproto.casttype) = "RequestStrategy"
];

// RequestPrompt is an optional message which tells users what they aught to
// RequestPrompt is an optional message which tells users what they aught to request.
string RequestPrompt = 12 [(gogoproto.jsontag) = "request_prompt,omitempty"];

reserved 13; // RequireSessionMFA replaced by RequireMFAType
Expand Down
Loading