Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1a614fb8
Commit
1a614fb8
authored
Aug 26, 2021
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allowlist another cross-database query callsite
parent
6073309b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
app/finders/ci/pipelines_for_merge_request_finder.rb
app/finders/ci/pipelines_for_merge_request_finder.rb
+13
-11
No files found.
app/finders/ci/pipelines_for_merge_request_finder.rb
View file @
1a614fb8
...
@@ -29,6 +29,7 @@ module Ci
...
@@ -29,6 +29,7 @@ module Ci
# Fetch all pipelines without permission check.
# Fetch all pipelines without permission check.
def
all
def
all
::
Gitlab
::
Database
.
allow_cross_joins_across_databases
(
url:
'https://gitlab.com/gitlab-org/gitlab/-/issues/336891'
)
do
strong_memoize
(
:all_pipelines
)
do
strong_memoize
(
:all_pipelines
)
do
next
Ci
::
Pipeline
.
none
unless
source_project
next
Ci
::
Pipeline
.
none
unless
source_project
...
@@ -42,6 +43,7 @@ module Ci
...
@@ -42,6 +43,7 @@ module Ci
sort
(
pipelines
)
sort
(
pipelines
)
end
end
end
end
end
private
private
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment