Skip to content

Update adherence_report_ui ff scope

Jay Montal requested to merge 422292_update_adherence_ui_ff_scope into master

What does this MR do and why?

What

Update adherence_report_ui feature flag scope

Why

Passes in an object (group) on the check so that the page renders properly if ff is enabled for a group

Screenshots or screen recordings

No visual changes

How to set up and validate locally

  1. Visit a group, under Secure (new UI) or Security & Compliance (old UI) > Compliance center
  2. Observe no new tab
  3. In the rails console (rails c) enable feature
    group = Group.find(<id>)
    Feature.enable(:adherence_report_ui, group)
  4. Visit the selected group, then navigate under Secure (new UI) or Security & Compliance (old UI) > Compliance center
  5. Observe new tab still shows

MR acceptance checklist

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

Related to #422292 (closed)

Edited by Sam Figueroa

Merge request reports