Project

General

Profile

List of users that have the permission to add a issue

Added by Alberto Cennini over 8 years ago

Hi, I need something like what is in issue.rb for assignable users (the code is below), but filtering on users can add a issue.
Thanks a lot for any help.
Alberto

  # Users the issue can be assigned to
  def assignable_users
    users = project.assignable_users
    users << author if author
    users << assigned_to if assigned_to
    users.uniq.sort
  end