authorizer

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIResourceSchemaAuthorizer

func NewAPIResourceSchemaAuthorizer(kubeClusterClient kcpkubernetesclientset.ClusterInterface) authorizer.Authorizer

NewAPIResourceSchemaAuthorizer creates a new authorizer that checks if the user has read access to APIBindings in the consumer workspace. The consumer workspace is determined from the APIDomainKey in the context.

Access is allowed if: - The user has "get", "list", or "watch" permission on "apibindings" in the consumer workspace - The request verb is read-only (get, list, watch).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL