Skip to content

Scope issue_date_filter to group/project/user

What does this MR do and why?

At the moment the feature flag is just scoped to a user.

This scopes it to project (for personal projects) and to the group for group projects.

See #420173 (comment 1677284344)

How to set up and validate locally

  1. Enable FF from the rails console for a user Feature.enable(:issue_date_filter, User.find(1))
  2. Ensure you can see the date filters on https://gdk.test:3000/dashboard/issues
  3. Ensure you can't see the date filters on http://gdk.test:3000/groups/flightjs/-/issues
  4. Enable FF for the group Feature.enable(:issue_date_filter, Group.find(6))
  5. Ensure you can see the date filters on http://gdk.test:3000/groups/flightjs/-/issues

MR acceptance checklist

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

Edited by Lee Tickett

Merge request reports