Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface SelfSubjectRulesReview
import { type SelfSubjectRulesReview } from "https://deno.land/x/kubernetes_apis@v0.5.1/builtin/authorization.k8s.io@v1/mod.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