Restrict WorkItem Epics rollout per user
What does this MR do and why?
Restrict WorkItem Epics rollout per user
This adds the work_item_epics_rollout
feature flag so we can control
the rollout to not just groups but also certain users.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Without one of the feature flags disabled
- Group > Epics -> "New Epic" should redirct to
/epics/new
- Going to any epic and changing the URL from
/epics
to/work_items
results into a 404
With both feature flags enabled
- Group > Epics -> "New Epic" should open up a modal
- Going to any epic and changing the URL from
/epics
to/work_items
uses the work item view
Feature.enable(:work_item_epics)
Feature.enable(:work_item_epics_rollout)
Edited by Nicolas Dular