package rbac
import "k8s.io/kubernetes/pkg/registry/rbac"
Index ¶
- func BindingAuthorized(ctx genericapirequest.Context, roleRef rbac.RoleRef, bindingNamespace string, a authorizer.Authorizer) bool
- func EscalationAllowed(ctx genericapirequest.Context) bool
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 ¶
Path | Synopsis |
---|---|
pkg/registry/rbac/clusterrole | Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRole objects. |
pkg/registry/rbac/clusterrolebinding | Package certificates provides Registry interface and its RESTStorage implementation for storing ClusterRoleBinding objects. |
pkg/registry/rbac/clusterrolebinding/policybased | Package policybased implements a standard storage for ClusterRoleBinding that prevents privilege escalation. |
pkg/registry/rbac/clusterrolebinding/storage | |
pkg/registry/rbac/clusterrole/policybased | Package 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/role | Package certificates provides Registry interface and its RESTStorage implementation for storing Role objects. |
pkg/registry/rbac/rolebinding | Package certificates provides Registry interface and its RESTStorage implementation for storing RoleBinding objects. |
pkg/registry/rbac/rolebinding/policybased | Package policybased implements a standard storage for RoleBinding that prevents privilege escalation. |
pkg/registry/rbac/rolebinding/storage | |
pkg/registry/rbac/role/policybased | Package 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.