diff options
Diffstat (limited to 'lib/feature')
-rw-r--r-- | lib/feature/shared.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/feature/shared.rb b/lib/feature/shared.rb index 9ec56ee6b52..1fcbc8fa173 100644 --- a/lib/feature/shared.rb +++ b/lib/feature/shared.rb @@ -10,6 +10,8 @@ class Feature # rollout_issue: defines if `bin/feature-flag` asks for rollout issue # default_enabled: defines a default state of a feature flag when created by `bin/feature-flag` # ee_only: defines that a feature flag can only be created in a context of EE + # deprecated: defines if a feature flag type that is deprecated and to be removed, + # the deprecated types are hidden from all interfaces # example: usage being shown when exception is raised TYPES = { development: { @@ -37,6 +39,7 @@ class Feature }, licensed: { description: 'Permanent feature flags used to temporarily disable licensed features.', + deprecated: true, optional: true, rollout_issue: false, ee_only: true, @@ -54,6 +57,7 @@ class Feature name introduced_by_url rollout_issue_url + milestone type group default_enabled |