Commit bd9e8986 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Remove FF for License Compliance rule

Feature flag is turned on by default so we can
remove it from the codebase
parent 7d27bb49
......@@ -4,9 +4,6 @@ module Projects
class LicensesController < Projects::ApplicationController
before_action :authorize_read_licenses!, only: [:index]
before_action :authorize_admin_software_license_policy!, only: [:create, :update]
before_action do
push_frontend_feature_flag(:license_compliance_denies_mr, default_enabled: true)
end
def index
respond_to do |format|
......
......@@ -164,7 +164,6 @@ module EE
end
def has_denied_policies?
return false if ::Feature.disabled?(:license_compliance_denies_mr, project, default_enabled: true)
return false unless has_license_scanning_reports?
return false if has_approved_license_check?
......
---
name: license_compliance_denies_mr
introduced_by_url:
rollout_issue_url:
group: composition_analysis
type: development
default_enabled: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment