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
92e8adce
Commit
92e8adce
authored
Dec 02, 2021
by
Daniel Tian
Committed by
Mark Chao
Dec 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change operational vulnerabilities flag from project to user
parent
b18bfee3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/controllers/groups/security/vulnerabilities_controller.rb
...controllers/groups/security/vulnerabilities_controller.rb
+1
-1
ee/app/controllers/projects/security/vulnerability_report_controller.rb
...lers/projects/security/vulnerability_report_controller.rb
+1
-1
ee/app/controllers/security/vulnerabilities_controller.rb
ee/app/controllers/security/vulnerabilities_controller.rb
+1
-1
No files found.
ee/app/controllers/groups/security/vulnerabilities_controller.rb
View file @
92e8adce
...
...
@@ -8,7 +8,7 @@ module Groups
before_action
do
push_frontend_feature_flag
(
:vulnerability_management_survey
,
type: :ops
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:vuln_report_new_project_filter
,
current_user
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
@project
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
current_user
,
default_enabled: :yaml
)
end
feature_category
:vulnerability_management
...
...
ee/app/controllers/projects/security/vulnerability_report_controller.rb
View file @
92e8adce
...
...
@@ -8,7 +8,7 @@ module Projects
before_action
do
push_frontend_feature_flag
(
:vulnerability_management_survey
,
type: :ops
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
@project
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
current_user
,
default_enabled: :yaml
)
end
feature_category
:vulnerability_management
...
...
ee/app/controllers/security/vulnerabilities_controller.rb
View file @
92e8adce
...
...
@@ -7,7 +7,7 @@ module Security
before_action
do
push_frontend_feature_flag
(
:vulnerability_management_survey
,
type: :ops
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:vuln_report_new_project_filter
,
current_user
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
@project
,
default_enabled: :yaml
)
push_frontend_feature_flag
(
:operational_vulnerabilities
,
current_user
,
default_enabled: :yaml
)
end
end
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