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
a22aea49
Commit
a22aea49
authored
Jan 12, 2022
by
Thong Kuah
Committed by
Kamil Trzciński
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add url for allowlists
parent
67591afb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/services/security/ingestion/ingest_report_slice_service.rb
...ervices/security/ingestion/ingest_report_slice_service.rb
+1
-1
lib/gitlab/import_export/project/object_builder.rb
lib/gitlab/import_export/project/object_builder.rb
+1
-1
No files found.
ee/app/services/security/ingestion/ingest_report_slice_service.rb
View file @
a22aea49
...
...
@@ -32,7 +32,7 @@ module Security
end
def
execute
::
Gitlab
::
Database
::
QueryAnalyzers
::
PreventCrossDatabaseModification
.
allow_cross_database_modification_within_transaction
(
url:
'
URL TODO
'
)
do
::
Gitlab
::
Database
::
QueryAnalyzers
::
PreventCrossDatabaseModification
.
allow_cross_database_modification_within_transaction
(
url:
'
https://gitlab.com/gitlab-org/gitlab/-/issues/350092
'
)
do
ApplicationRecord
.
transaction
do
TASKS
.
each
{
|
task
|
execute_task
(
task
)
}
end
...
...
lib/gitlab/import_export/project/object_builder.rb
View file @
a22aea49
...
...
@@ -14,7 +14,7 @@ module Gitlab
# It also adds some logic around Group Labels/Milestones for edge cases.
class
ObjectBuilder
<
Base
::
ObjectBuilder
def
self
.
build
(
*
args
)
::
Gitlab
::
Database
::
QueryAnalyzers
::
PreventCrossDatabaseModification
.
allow_cross_database_modification_within_transaction
(
url:
'
URL TODO
'
)
do
::
Gitlab
::
Database
::
QueryAnalyzers
::
PreventCrossDatabaseModification
.
allow_cross_database_modification_within_transaction
(
url:
'
https://gitlab.com/gitlab-org/gitlab/-/issues/350091
'
)
do
::
Project
.
transaction
do
super
end
...
...
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