Remove network policy editor
What does this MR do and why?
Remove network policy editor
- Now that network policies were removed in Remove network policies feature from the UI (!82319 - merged), all the code for the
network policies is not used. Remove all network policy editor files.
NOTE: this MR is large, but it logically makes sense to delete all the components related to the network_policy_editor
(all in the same folder) at once. There are only two components that are outside the folder (policy_action_picker.vue
and policy_alert_picker.vue
), but I have also verified that they are not used anywhere else (similar to all the files in the network_policy_editor
folder)
Related to #352285 (closed)
What does this MR NOT do and why?
- This MR does not remove any additional constants or mock data because it is large already, but those changes will come in a later MR (and are being tracked by the issue)
Screenshots or screen recordings
Before | After |
---|---|
No visual change |
policy_alert_picker global search |
policy_action_picker global search |
---|---|
How to set up and validate locally
- Upload a GitLab Ultimate license
- Navigate to a project =>
Security & Compliance
=>Policies
=>New policy
- Verify all editors still work
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.
Edited by Alexander Turinske