Commit 58f318e0 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'enable-contributor-author-badges-on-notes' into 'master'

Show contributors and authors on notes

See merge request gitlab-org/gitlab!42576
parents 3ffa946e 7f47ca8a
...@@ -322,8 +322,6 @@ class Note < ApplicationRecord ...@@ -322,8 +322,6 @@ class Note < ApplicationRecord
end end
def contributor? def contributor?
return false unless ::Feature.enabled?(:show_contributor_on_note, project)
project&.team&.contributor?(self.author_id) project&.team&.contributor?(self.author_id)
end end
......
---
title: Display Contributor badges on notes
merge_request: 42576
author: Mycroft Kang @TaehyeokKang
type: added
---
name: show_contributor_on_note
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40198
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/249179
group: group::project management
type: development
default_enabled: false
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment