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
2912ac09
Commit
2912ac09
authored
Mar 14, 2022
by
John Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove block_project_serialization feature flag
Changelog: changed
parent
4be7b092
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
app/models/project.rb
app/models/project.rb
+0
-4
config/feature_flags/development/block_project_serialization.yml
...feature_flags/development/block_project_serialization.yml
+0
-8
spec/models/project_spec.rb
spec/models/project_spec.rb
+0
-8
No files found.
app/models/project.rb
View file @
2912ac09
...
@@ -3043,10 +3043,6 @@ class Project < ApplicationRecord
...
@@ -3043,10 +3043,6 @@ class Project < ApplicationRecord
Projects
::
SyncEvent
.
enqueue_worker
Projects
::
SyncEvent
.
enqueue_worker
end
end
end
end
def
allow_serialization?
(
options
=
nil
)
Feature
.
disabled?
(
:block_project_serialization
,
self
,
default_enabled: :yaml
)
||
super
end
end
end
Project
.
prepend_mod_with
(
'Project'
)
Project
.
prepend_mod_with
(
'Project'
)
config/feature_flags/development/block_project_serialization.yml
deleted
100644 → 0
View file @
4be7b092
---
name
:
block_project_serialization
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/81900
rollout_issue_url
:
milestone
:
'
14.9'
type
:
development
group
:
group::workspace
default_enabled
:
false
spec/models/project_spec.rb
View file @
2912ac09
...
@@ -8026,14 +8026,6 @@ RSpec.describe Project, factory_default: :keep do
...
@@ -8026,14 +8026,6 @@ RSpec.describe Project, factory_default: :keep do
let
(
:object
)
{
build
(
:project
)
}
let
(
:object
)
{
build
(
:project
)
}
it_behaves_like
'blocks unsafe serialization'
it_behaves_like
'blocks unsafe serialization'
context
'when feature flag block_project_serialization is disabled'
do
before
do
stub_feature_flags
(
block_project_serialization:
false
)
end
it_behaves_like
'allows unsafe serialization'
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