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
eb127ba6
Commit
eb127ba6
authored
Jul 11, 2018
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve ce-ee conflict
parent
b276b965
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
21 deletions
+0
-21
lib/gitlab/access.rb
lib/gitlab/access.rb
+0
-3
spec/features/boards/sidebar_spec.rb
spec/features/boards/sidebar_spec.rb
+0
-3
spec/features/issues/form_spec.rb
spec/features/issues/form_spec.rb
+0
-3
spec/features/projects/merge_requests/user_creates_merge_request_spec.rb
...rojects/merge_requests/user_creates_merge_request_spec.rb
+0
-3
spec/javascripts/fixtures/projects.rb
spec/javascripts/fixtures/projects.rb
+0
-3
spec/requests/api/protected_branches_spec.rb
spec/requests/api/protected_branches_spec.rb
+0
-6
No files found.
lib/gitlab/access.rb
View file @
eb127ba6
...
...
@@ -17,10 +17,7 @@ module Gitlab
# @deprecated
MASTER
=
MAINTAINER
OWNER
=
50
<<<<<<<
HEAD
ADMIN
=
60
=======
>>>>>>>
upstream
/
master
# Branch protection settings
PROTECTION_NONE
=
0
...
...
spec/features/boards/sidebar_spec.rb
View file @
eb127ba6
...
...
@@ -22,10 +22,7 @@ describe 'Issue Boards', :js do
end
before
do
<<<<<<<
HEAD
stub_licensed_features
(
multiple_issue_assignees:
false
)
=======
>>>>>>>
upstream
/
master
project
.
add_maintainer
(
user
)
sign_in
(
user
)
...
...
spec/features/issues/form_spec.rb
View file @
eb127ba6
...
...
@@ -13,11 +13,8 @@ describe 'New/edit issue', :js do
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
assignees:
[
user
],
milestone:
milestone
)
}
before
do
<<<<<<<
HEAD
stub_licensed_features
(
multiple_issue_assignees:
false
,
issue_weights:
false
)
=======
>>>>>>>
upstream
/
master
project
.
add_maintainer
(
user
)
project
.
add_maintainer
(
user2
)
sign_in
(
user
)
...
...
spec/features/projects/merge_requests/user_creates_merge_request_spec.rb
View file @
eb127ba6
...
...
@@ -17,10 +17,7 @@ describe "User creates a merge request", :js do
before
do
project
.
add_maintainer
(
user
)
<<<<<<<
HEAD
project
.
add_maintainer
(
approver
)
=======
>>>>>>>
upstream
/
master
sign_in
(
user
)
project
.
approvers
.
create
(
user_id:
approver
.
id
)
...
...
spec/javascripts/fixtures/projects.rb
View file @
eb127ba6
...
...
@@ -17,12 +17,9 @@ describe 'Projects (JavaScript fixtures)', type: :controller do
end
before
do
<<<<<<<
HEAD
# EE-specific start
stub_licensed_features
(
variable_environment_scope:
true
)
# EE specific end
=======
>>>>>>>
upstream
/
master
project
.
add_maintainer
(
admin
)
sign_in
(
admin
)
end
...
...
spec/requests/api/protected_branches_spec.rb
View file @
eb127ba6
...
...
@@ -56,10 +56,7 @@ describe API::ProtectedBranches do
expect
(
json_response
[
'name'
]).
to
eq
(
branch_name
)
expect
(
json_response
[
'push_access_levels'
][
0
][
'access_level'
]).
to
eq
(
::
Gitlab
::
Access
::
MAINTAINER
)
expect
(
json_response
[
'merge_access_levels'
][
0
][
'access_level'
]).
to
eq
(
::
Gitlab
::
Access
::
MAINTAINER
)
<<<<<<<
HEAD
expect
(
json_response
[
'unprotect_access_levels'
]).
to
eq
([])
=======
>>>>>>>
upstream
/
master
end
context
'when protected branch does not exist'
do
...
...
@@ -149,10 +146,7 @@ describe API::ProtectedBranches do
expect
(
json_response
[
'name'
]).
to
eq
(
branch_name
)
expect
(
json_response
[
'push_access_levels'
][
0
][
'access_level'
]).
to
eq
(
Gitlab
::
Access
::
MAINTAINER
)
expect
(
json_response
[
'merge_access_levels'
][
0
][
'access_level'
]).
to
eq
(
Gitlab
::
Access
::
MAINTAINER
)
<<<<<<<
HEAD
expect
(
json_response
[
'unprotect_access_levels'
][
0
][
'access_level'
]).
to
eq
(
Gitlab
::
Access
::
MAINTAINER
)
=======
>>>>>>>
upstream
/
master
end
it
'protects a single branch and developers can push'
do
...
...
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