Skip to content
Snippets Groups Projects
Commit 07cea951 authored by Patrick Derichs's avatar Patrick Derichs
Browse files

Aligned changes to Issuable with EE

parent 613ce644
No related branches found
No related tags found
2 merge requests!28074Upgrade Gitaly to v1.34.2,!27481CE part for extract EE specific lines from issue.rb
Pipeline #57380008 passed with warnings
......@@ -128,10 +128,6 @@ def has_multiple_assignees?
assignees.count > 1
end
def milestone_available?
project_id == milestone&.project_id || project.ancestors_upto.compact.include?(milestone&.group)
end
private
def milestone_is_valid
......@@ -277,6 +273,10 @@ def parent_class
end
end
def milestone_available?
project_id == milestone&.project_id || project.ancestors_upto.compact.include?(milestone&.group)
end
def assignee_or_author?(user)
author_id == user.id || assignees.exists?(user.id)
end
......
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