diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-11 15:14:00 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-11 15:14:00 +0000 |
commit | ec377e41624fb83f0e5e51286c7aad24a22eefb1 (patch) | |
tree | 824901d301b34620d8c488d818762a50d7a6bc12 /app/policies | |
parent | 39c4905723dab98b383e7dc5940caa7f8080c2cc (diff) | |
download | gitlab-ce-ec377e41624fb83f0e5e51286c7aad24a22eefb1.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/note_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/note_policy.rb b/app/policies/note_policy.rb index d9ea7c38f11..e85f18f2d37 100644 --- a/app/policies/note_policy.rb +++ b/app/policies/note_policy.rb @@ -16,7 +16,7 @@ class NotePolicy < BasePolicy condition(:for_design) { @subject.for_design? } - condition(:is_visible) { @subject.system_note_with_references_visible_for?(@user) } + condition(:is_visible) { @subject.system_note_visible_for?(@user) } condition(:confidential, scope: :subject) { @subject.confidential? } |