Welcome to mirror list, hosted at ThFree Co, Russian Federation.

jira_connect_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f1527b9b85aebda9aec2858c7cf0f04801cb71b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module JiraConnectHelper
  def new_jira_connect_ui?
    Feature.enabled?(:new_jira_connect_ui, type: :development, default_enabled: :yaml)
  end

  def jira_connect_app_data
    {
      groups_path: api_v4_groups_path(params: { min_access_level: Gitlab::Access::MAINTAINER })
    }
  end
end