class K8S::Api::Authorization::V1::SubjectRulesReviewStatus
- K8S::Api::Authorization::V1::SubjectRulesReviewStatus
- Reference
- Object
Overview
SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.17/api/authorization/v1/subject_rules_review_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, incomplete : Bool, non_resource_rules : Array, resource_rules : Array, evaluation_error : String? = nil)
Instance Method Summary
- #evaluation_error : String?
- #evaluation_error=(evaluation_error : String?)
- #incomplete : Bool
- #incomplete=(incomplete : Bool)
- #non_resource_rules : Array(Api::Authorization::V1::NonResourceRule)
- #non_resource_rules=(non_resource_rules : Array(Api::Authorization::V1::NonResourceRule))
- #resource_rules : Array(Api::Authorization::V1::ResourceRule)
- #resource_rules=(resource_rules : Array(Api::Authorization::V1::ResourceRule))
Constructor Detail
def self.new(*, incomplete : Bool, non_resource_rules : Array, resource_rules : Array, evaluation_error : String? = nil)
#
Instance Method Detail
def non_resource_rules=(non_resource_rules : Array(Api::Authorization::V1::NonResourceRule))
#