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
- Enable FF from the rails console for a user
Feature.enable(:issue_date_filter, User.find(1))
- Ensure you can see the date filters on https://gdk.test:3000/dashboard/issues
- Ensure you can't see the date filters on http://gdk.test:3000/groups/flightjs/-/issues
- Enable FF for the group
Feature.enable(:issue_date_filter, Group.find(6))
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Lee Tickett