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
3fbc51d3
Commit
3fbc51d3
authored
Aug 16, 2019
by
rossfuhrman
Committed by
Stan Hu
Aug 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Security Dashboard feature flag
This removes the group_overview_security_dashboard feature flag
parent
2b48eec8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
changelogs/unreleased/rf-remove-group-overview-security-dashboard-feature-flag.yml
...remove-group-overview-security-dashboard-feature-flag.yml
+5
-0
lib/gitlab/usage_data.rb
lib/gitlab/usage_data.rb
+1
-3
spec/lib/gitlab/usage_data_spec.rb
spec/lib/gitlab/usage_data_spec.rb
+0
-5
No files found.
changelogs/unreleased/rf-remove-group-overview-security-dashboard-feature-flag.yml
0 → 100644
View file @
3fbc51d3
---
title
:
Remove Security Dashboard feature flag
merge_request
:
31820
author
:
type
:
other
lib/gitlab/usage_data.rb
View file @
3fbc51d3
...
...
@@ -100,9 +100,7 @@ module Gitlab
.
merge
(
services_usage
)
.
merge
(
approximate_counts
)
}.
tap
do
|
data
|
if
Feature
.
enabled?
(
:group_overview_security_dashboard
)
data
[
:counts
][
:user_preferences
]
=
user_preferences_usage
end
data
[
:counts
][
:user_preferences
]
=
user_preferences_usage
end
end
# rubocop: enable CodeReuse/ActiveRecord
...
...
spec/lib/gitlab/usage_data_spec.rb
View file @
3fbc51d3
...
...
@@ -154,11 +154,6 @@ describe Gitlab::UsageData do
expect
(
expected_keys
-
count_data
.
keys
).
to
be_empty
end
it
'does not gather user preferences usage data when the feature is disabled'
do
stub_feature_flags
(
group_overview_security_dashboard:
false
)
expect
(
subject
[
:counts
].
keys
).
not_to
include
(
:user_preferences
)
end
it
'gathers projects data correctly'
do
count_data
=
subject
[
:counts
]
...
...
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