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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/issue_entity.rb')
-rw-r--r--app/serializers/issue_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_entity.rb b/app/serializers/issue_entity.rb
index 397f333008c..a38f345f617 100644
--- a/app/serializers/issue_entity.rb
+++ b/app/serializers/issue_entity.rb
@@ -48,7 +48,7 @@ class IssueEntity < IssuableEntity
end
expose :can_create_confidential_note do |issue|
- can?(request.current_user, :mark_note_as_confidential, issue)
+ can?(request.current_user, :mark_note_as_internal, issue)
end
expose :can_update do |issue|