- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for authorizeUpdate (0.22 sec)
-
pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz.go
if binding.Spec.ParamRef == nil { // no paramRef in new object return nil } return v.authorize(ctx, binding) } func (v *validatingAdmissionPolicyBindingStrategy) authorizeUpdate(ctx context.Context, obj, old runtime.Object) error { binding := obj.(*admissionregistration.ValidatingAdmissionPolicyBinding) if binding.Spec.ParamRef == nil { // no paramRef in new object return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 12:19:03 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go
if len(errs) == 0 { // if the object is well-formed, also authorize the paramKind if err := v.authorizeUpdate(ctx, obj, old); err != nil { errs = append(errs, field.Forbidden(field.NewPath("spec", "paramKind"), err.Error())) } } return errs } // WarningsOnUpdate returns warnings for the given update.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.8K bytes - Viewed (0)