Add extra check for source namespace in security policy
What does this MR do and why?
This MR adds check for namespace
Backend can return inherited policy without source. This MR adds checks and fallback values for the edge case
This MR resolves #425342 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
NO VISUAL CHANGES
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- There is no direct way to create a policy without namespace for source. backend part is still in investigation.
- So this MR just adds extra checks for source, namespace
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #425342 (closed)