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
f986135e
Commit
f986135e
authored
Mar 05, 2019
by
Jarka Košanová
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
ea81ec39
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
21 deletions
+0
-21
app/models/concerns/issuable.rb
app/models/concerns/issuable.rb
+0
-3
app/models/concerns/milestoneish.rb
app/models/concerns/milestoneish.rb
+0
-3
app/policies/group_policy.rb
app/policies/group_policy.rb
+0
-3
ee/spec/models/burndown_spec.rb
ee/spec/models/burndown_spec.rb
+0
-4
spec/policies/group_policy_spec.rb
spec/policies/group_policy_spec.rb
+0
-8
No files found.
app/models/concerns/issuable.rb
View file @
f986135e
...
...
@@ -121,11 +121,8 @@ module Issuable
end
def
milestone_available?
<<<<<<<
HEAD
=======
return
if
is_a?
(
Epic
)
>>>>>>>
dev
/
master
project_id
==
milestone
&
.
project_id
||
project
.
ancestors_upto
.
compact
.
include?
(
milestone
&
.
group
)
end
...
...
app/models/concerns/milestoneish.rb
View file @
f986135e
...
...
@@ -46,7 +46,6 @@ module Milestoneish
end
end
<<<<<<<
HEAD
def
merge_requests_visible_to_user
(
user
)
memoize_per_user
(
user
,
:merge_requests_visible_to_user
)
do
MergeRequestsFinder
.
new
(
user
,
{})
...
...
@@ -54,8 +53,6 @@ module Milestoneish
end
end
=======
>>>>>>>
dev
/
master
def
issue_participants_visible_by_user
(
user
)
User
.
joins
(
:issue_assignees
)
.
where
(
'issue_assignees.issue_id'
=>
issues_visible_to_user
(
user
).
select
(
:id
))
...
...
app/policies/group_policy.rb
View file @
f986135e
...
...
@@ -53,10 +53,7 @@ class GroupPolicy < BasePolicy
rule
{
admin
}.
enable
:read_group
rule
{
has_projects
}.
policy
do
<<<<<<<
HEAD
enable
:read_list
=======
>>>>>>>
dev
/
master
enable
:read_label
end
...
...
ee/spec/models/burndown_spec.rb
View file @
f986135e
...
...
@@ -142,11 +142,7 @@ describe Burndown do
context
'when nested group milestone'
,
:nested_groups
do
before
do
<<<<<<<
HEAD
group
.
add_developer
(
user
)
=======
parent_group
.
add_developer
(
user
)
>>>>>>>
dev
/
master
end
it_behaves_like
'burndown for milestone'
do
...
...
spec/policies/group_policy_spec.rb
View file @
f986135e
...
...
@@ -115,21 +115,13 @@ describe GroupPolicy do
project
.
add_developer
(
current_user
)
end
<<<<<<<
HEAD
it
{
expect_allowed
(
:read_label
,
:read_list
)
}
=======
it
{
expect_allowed
(
:read_label
)
}
>>>>>>>
dev
/
master
context
'in subgroups'
,
:nested_groups
do
let
(
:subgroup
)
{
create
(
:group
,
:private
,
parent:
group
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
subgroup
)
}
<<<<<<<
HEAD
it
{
expect_allowed
(
:read_label
,
:read_list
)
}
=======
it
{
expect_allowed
(
:read_label
)
}
>>>>>>>
dev
/
master
end
end
...
...
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