Is your feature request related to a problem? Please describe.
The handling of illegal policy addition and update actions is implemented too late in the controller. Such erroneous modifications can disrupt the policy's state and lead to inconsistencies in the system.
Describe the solution you'd like
Implement pre-validation checks in the webhook to intercept illegal policy addition and update actions at an early stage. This proactive verification will prevent invalid operations from propagating further, ensuring the consistency and integrity of policy states.
Describe alternatives you've considered
None