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
f5c8b4c6
Commit
f5c8b4c6
authored
Jul 26, 2018
by
Lin Jen-Shin
Committed by
Tiago Botelho
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add override verification
parent
c212a611
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ee/lib/ee/api/projects.rb
ee/lib/ee/api/projects.rb
+7
-0
No files found.
ee/lib/ee/api/projects.rb
View file @
f5c8b4c6
...
...
@@ -7,6 +7,8 @@ module EE
prepended
do
helpers
do
extend
::
Gitlab
::
Utils
::
Override
params
:optional_filter_params_ee
do
optional
:wiki_checksum_failed
,
type:
Grape
::
API
::
Boolean
,
default:
false
,
desc:
'Limit by projects where wiki checksum is failed'
optional
:repository_checksum_failed
,
type:
Grape
::
API
::
Boolean
,
default:
false
,
desc:
'Limit by projects where repository checksum is failed'
...
...
@@ -27,6 +29,7 @@ module EE
projects
end
override
:verify_create_projects_attrs!
def
verify_create_projects_attrs!
(
attrs
)
super
...
...
@@ -37,6 +40,7 @@ module EE
end
end
override
:verify_update_project_attrs!
def
verify_update_project_attrs!
(
attrs
)
super
...
...
@@ -56,6 +60,9 @@ module EE
end
class_methods
do
extend
::
Gitlab
::
Utils
::
Override
override
:update_params_at_least_one_of
def
update_params_at_least_one_of
super
.
concat
[
:approvals_before_merge
,
...
...
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