class K8S::Api::Authorization::V1::SubjectRulesReviewStatus

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

Defined in:

versions/v1.16/api/authorization/v1/subject_rules_review_status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, incomplete : Bool, non_resource_rules : Array, resource_rules : Array, evaluation_error : String? = nil) #

[View source]

Instance Method Detail

def evaluation_error : String? #

[View source]
def evaluation_error=(evaluation_error : String?) #

[View source]
def incomplete : Bool #

[View source]
def incomplete=(incomplete : Bool) #

[View source]
def non_resource_rules : Array(Api::Authorization::V1::NonResourceRule) #

[View source]
def non_resource_rules=(non_resource_rules : Array(Api::Authorization::V1::NonResourceRule)) #

[View source]
def resource_rules : Array(Api::Authorization::V1::ResourceRule) #

[View source]
def resource_rules=(resource_rules : Array(Api::Authorization::V1::ResourceRule)) #

[View source]