Skip to content

Remove policy envivronment-related code

Alexander Turinske requested to merge 352287-remove-environment-information into master

What does this MR do and why?

Remove policy envivronment-related code

  • it is no longer used now that the threat monitoring page has been deleted
  • it is no longer used now that the environment picker has been removed from the policy page

Related to #352287 (closed)

Screenshots or screen recordings

No screenshots available as this code wasn't being used anymore. I check the policies page and it works as expected

How to set up and validate locally

  1. Enable :group_level_security_policies feature flag
  2. Upload a GitLab Ultimate license
  3. Navigate to a group => Security & Compliance => Policies => New policy and ensure everything works

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports