package rbac

import "k8s.io/kubernetes/pkg/registry/rbac"

Index

Functions

func BindingAuthorized

func BindingAuthorized(ctx genericapirequest.Context, roleRef rbac.RoleRef, bindingNamespace string, a authorizer.Authorizer) bool

BindingAuthorized returns true if the user associated with the context is explicitly authorized to bind the specified roleRef

func EscalationAllowed

func EscalationAllowed(ctx genericapirequest.Context) bool

Source Files

escalation_check.go

Directories

PathSynopsis
pkg/registry/rbac/clusterrolePackage certificates provides Registry interface and its RESTStorage implementation for storing ClusterRole objects.
pkg/registry/rbac/clusterrolebindingPackage certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects.
pkg/registry/rbac/clusterrolebinding/policybasedPackage policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation.
pkg/registry/rbac/clusterrolebinding/storage
pkg/registry/rbac/clusterrole/policybasedPackage policybased implements a standard storage for ClusterRole that prevents privilege escalation.
pkg/registry/rbac/clusterrole/storage
pkg/registry/rbac/reconciliation
pkg/registry/rbac/rest
pkg/registry/rbac/rolePackage certificates provides Registry interface and its RESTStorage implementation for storing Role objects.
pkg/registry/rbac/rolebindingPackage certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects.
pkg/registry/rbac/rolebinding/policybasedPackage policybased implements a standard storage for RoleBinding that prevents privilege escalation.
pkg/registry/rbac/rolebinding/storage
pkg/registry/rbac/role/policybasedPackage policybased implements a standard storage for Role that prevents privilege escalation.
pkg/registry/rbac/role/storage
pkg/registry/rbac/validation
Version
v1.7.8
Published
Oct 5, 2017
Platform
js/wasm
Imports
6 packages
Last checked
8 minutes ago

Tools for package owners.