Skip to content
Snippets Groups Projects
Commit ecd5854d authored by Jarka Kadlecova's avatar Jarka Kadlecova
Browse files

Add swimlanes to premium license

- renaame method pushing licensed features to boards FE
parent 682ec79a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,7 +9,7 @@ module BoardsActions
 
before_action :boards, only: :index
before_action :board, only: :show
before_action :push_wip_limits, only: [:index, :show]
before_action :push_licensed_features, only: [:index, :show]
before_action do
push_frontend_feature_flag(:not_issuable_queries, parent, default_enabled: true)
end
Loading
Loading
@@ -29,7 +29,7 @@ module BoardsActions
private
 
# Noop on FOSS
def push_wip_limits
def push_licensed_features
end
 
def boards
Loading
Loading
Loading
Loading
@@ -10,9 +10,10 @@ module EE
 
private
 
def push_wip_limits
def push_licensed_features
# This is pushing a licensed Feature to the frontend.
push_frontend_feature_flag(:wip_limits, type: :licensed, default_enabled: true) if parent.feature_available?(:wip_limits)
push_frontend_feature_flag(:swimlanes, type: :licensed, default_enabled: true) if parent.feature_available?(:swimlanes)
end
end
end
Loading
Loading
@@ -6,7 +6,7 @@ module EE
extend ::Gitlab::Utils::Override
 
included do
before_action :push_wip_limits
before_action :push_licensed_features
end
 
EE_MAX_LIMITS_PARAMS = %i[max_issue_count max_issue_weight limit_metric].freeze
Loading
Loading
Loading
Loading
@@ -108,6 +108,7 @@ class License < ApplicationRecord
required_ci_templates
scoped_labels
smartcard_auth
swimlanes
group_timelogs
type_of_work_analytics
minimal_access_role
Loading
Loading
---
name: swimlanes
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41543
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/239472
group: group::portfolio management
type: licensed
default_enabled: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment