Skip to content
Snippets Groups Projects
Commit 2cff1ac7 authored by Nick Thomas's avatar Nick Thomas
Browse files

Merge branch '10685-remove-feature-flag-ce' into 'master'

Remove `approval_rules` feature flag and remove obsolete approvals implementation

See merge request gitlab-org/gitlab-ce!28979
parents d2ea6154 eabc7289
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,7 +3,7 @@
> Introduced in [GitLab Enterprise Edition 7.12](https://about.gitlab.com/2015/06/22/gitlab-7-12-released/#merge-request-approvers-ee-only).
 
NOTE: **Note:**
If you are running a self-managed instance, the new interface shown on
Prior to 12.0, if you are running a self-managed instance, the new interface shown on
this page will not be available unless the feature flag
`approval_rules` is enabled, which can be done from the Rails console by
instance administrators.
Loading
Loading
Loading
Loading
@@ -8,8 +8,6 @@ describe "User creates a merge request", :js do
let(:user) { create(:user) }
 
before do
stub_feature_flags(approval_rules: false)
project.add_maintainer(user)
sign_in(user)
end
Loading
Loading
Loading
Loading
@@ -7,7 +7,6 @@ describe 'Projects > Settings > For a forked project', :js do
let(:forked_project) { fork_project(original_project, user) }
 
before do
stub_feature_flags(approval_rules: false)
original_project.add_maintainer(user)
forked_project.add_maintainer(user)
sign_in(user)
Loading
Loading
Loading
Loading
@@ -6,7 +6,6 @@ describe 'Project' do
 
before do
stub_feature_flags(vue_file_list: false)
stub_feature_flags(approval_rules: false)
end
 
describe 'creating from template' do
Loading
Loading
Loading
Loading
@@ -21,7 +21,6 @@ describe('mrWidgetOptions', () => {
const COLLABORATION_MESSAGE = 'Allows commits from members who can merge to the target branch';
 
beforeEach(() => {
gon.features = { approvalRules: false };
// Prevent component mounting
delete mrWidgetOptions.el;
 
Loading
Loading
@@ -32,7 +31,6 @@ describe('mrWidgetOptions', () => {
});
 
afterEach(() => {
gon.features = null;
vm.$destroy();
});
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment