diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /app/policies/note_policy.rb | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'app/policies/note_policy.rb')
-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? } |