class K8S::Api::Authorization::V1::SelfSubjectRulesReview
Overview
SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to [show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.](show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.)
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- K8S::Kubernetes::Resource::Object
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/authorization/v1/self_subject_rules_review.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, spec : Api::Authorization::V1::SelfSubjectRulesReviewSpec, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, status : Api::Authorization::V1::SubjectRulesReviewStatus? = nil)
Class Method Summary
Instance Method Summary
- #api_version : String
- #kind : String
- #merge(other)
- #metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
- #metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
- #spec : Api::Authorization::V1::SelfSubjectRulesReviewSpec
- #spec=(spec : Api::Authorization::V1::SelfSubjectRulesReviewSpec)
- #status : Api::Authorization::V1::SubjectRulesReviewStatus?
- #status=(status : Api::Authorization::V1::SubjectRulesReviewStatus?)
- #to_h
Instance methods inherited from module K8S::Kubernetes::Resource::Object
api_version : String
api_version,
kind : String
kind,
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata! : Apimachinery::Apis::Meta::V1::ObjectMeta
metadata!
Instance methods inherited from class K8S::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class K8S::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new