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
71ffadaa
Commit
71ffadaa
authored
Sep 18, 2020
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `license_compliance_denies_mr` feature flag
It appears that this feature flag should be `default_enabled: true`
parent
684630e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ee/app/controllers/projects/licenses_controller.rb
ee/app/controllers/projects/licenses_controller.rb
+1
-1
ee/config/feature_flags/development/license_compliance_denies_mr.yml
...eature_flags/development/license_compliance_denies_mr.yml
+7
-0
No files found.
ee/app/controllers/projects/licenses_controller.rb
View file @
71ffadaa
...
@@ -5,7 +5,7 @@ module Projects
...
@@ -5,7 +5,7 @@ module Projects
before_action
:authorize_read_licenses!
,
only:
[
:index
]
before_action
:authorize_read_licenses!
,
only:
[
:index
]
before_action
:authorize_admin_software_license_policy!
,
only:
[
:create
,
:update
]
before_action
:authorize_admin_software_license_policy!
,
only:
[
:create
,
:update
]
before_action
do
before_action
do
push_frontend_feature_flag
(
:license_compliance_denies_mr
,
default_enabled:
fals
e
)
push_frontend_feature_flag
(
:license_compliance_denies_mr
,
default_enabled:
tru
e
)
end
end
def
index
def
index
...
...
ee/config/feature_flags/development/license_compliance_denies_mr.yml
0 → 100644
View file @
71ffadaa
---
name
:
license_compliance_denies_mr
introduced_by_url
:
rollout_issue_url
:
group
:
type
:
development
default_enabled
:
true
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