struct
Kubernetes::SubjectAccessReviewStatus
- Kubernetes::SubjectAccessReviewStatus
- Struct
- Value
- Object
Overview
SubjectAccessReviewStatus
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_authorization_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#allowed : Bool | Nil
Allowed is required.
-
#allowed=(allowed : Bool | Nil)
Allowed is required.
-
#denied : Bool | Nil
Denied is optional.
-
#denied=(denied : Bool | Nil)
Denied is optional.
-
#evaluation_error : String | Nil
EvaluationError is an indication that some error occurred during the authorization check.
-
#evaluation_error=(evaluation_error : String | Nil)
EvaluationError is an indication that some error occurred during the authorization check.
-
#reason : String | Nil
Reason is optional.
-
#reason=(reason : String | Nil)
Reason is optional.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Allowed is required. True if the action would be allowed, false otherwise.
Allowed is required. True if the action would be allowed, false otherwise.
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
Reason is optional. It indicates why a request was allowed or denied.