Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kubernetes_apis/builtin/authorization.k8s.io@v1/structs.ts>SelfSubjectRulesReview

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface SelfSubjectRulesReview
import { type SelfSubjectRulesReview } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/authorization.k8s.io@v1/structs.ts";

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.

Properties

optional
apiVersion: "authorization.k8s.io/v1"
optional
kind: "SelfSubjectRulesReview"
optional
metadata: MetaV1.ObjectMeta | null
optional
status: SubjectRulesReviewStatus | null