Defect #21477 » 21477-dont_add_anonymous_author_to_assignable_users.diff
| app/models/issue.rb | ||
|---|---|---|
|
# Users the issue can be assigned to
|
||
|
def assignable_users
|
||
|
users = project.assignable_users.to_a
|
||
|
users << author if author
|
||
|
users << author if (author && !author.anonymous?)
|
||
|
users << assigned_to if assigned_to
|
||
|
users.uniq.sort
|
||
|
end
|
||