summaryrefslogtreecommitdiff
path: root/app/helpers/issues_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-17 15:09:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-17 15:09:01 +0000
commitd88ab3545c27cd674f5fb8bff5fb64a9eeed590f (patch)
treec0c6cc7065a765a6c93d67cebbe0dd16431296bd /app/helpers/issues_helper.rb
parentf0a387b4a5f08d6739894455664b4d3cb1509cc6 (diff)
downloadgitlab-ce-d88ab3545c27cd674f5fb8bff5fb64a9eeed590f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/issues_helper.rb')
-rw-r--r--app/helpers/issues_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 4ac39e36af8..04de77dd484 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -204,6 +204,8 @@ module IssuesHelper
initial_sort: current_user&.user_preference&.issues_sort,
is_anonymous_search_disabled: Feature.enabled?(:disable_anonymous_search, type: :ops).to_s,
is_issue_repositioning_disabled: issue_repositioning_disabled?.to_s,
+ is_public_visibility_restricted:
+ Gitlab::CurrentSettings.restricted_visibility_levels.include?(Gitlab::VisibilityLevel::PUBLIC).to_s,
is_signed_in: current_user.present?.to_s,
jira_integration_path: help_page_url('integration/jira/issues', anchor: 'view-jira-issues'),
rss_path: url_for(safe_params.merge(rss_url_options)),