allErrs=append(allErrs,field.Invalid(field.NewPath("spec.resourceAttributes.namespace"),sar.Spec.ResourceAttributes.Namespace,`must match metadata.namespace`))
}
ifsar.Spec.NonResourceAttributes!=nil{
allErrs=append(allErrs,field.Invalid(field.NewPath("spec.nonResourceAttributes"),sar.Spec.NonResourceAttributes,`disallowed on this kind of request`))