-
- Downloads
Allow the feature flags to be enabled/disabled with more granularity
This allows to enable/disable a feature flag for a given user, or a
given Flipper group (must be declared statically in the `flipper.rb`
initializer beforehand).
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- app/models/concerns/flippable.rb 7 additions, 0 deletionsapp/models/concerns/flippable.rb
- app/models/user.rb 1 addition, 0 deletionsapp/models/user.rb
- changelogs/unreleased/34078-allow-to-enable-feature-flags-with-more-granularity.yml 4 additions, 0 deletions...8-allow-to-enable-feature-flags-with-more-granularity.yml
- doc/api/features.md 2 additions, 0 deletionsdoc/api/features.md
- lib/api/features.rb 33 additions, 5 deletionslib/api/features.rb
- lib/feature.rb 16 additions, 6 deletionslib/feature.rb
- spec/models/user_spec.rb 14 additions, 0 deletionsspec/models/user_spec.rb
- spec/requests/api/features_spec.rb 156 additions, 22 deletionsspec/requests/api/features_spec.rb
app/models/concerns/flippable.rb
0 → 100644
Please register or sign in to comment