Defect #2055

Assigned to list for parent project in issue filter missing users of child projects

Added by Ewan Makepeace about 9 years ago. Updated over 7 years ago.

Status:NewStart date:2008-10-20
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:

Description

If I list issues for a parent project I cant filter by Assigned To if the user concerned is not a member of the parent project - even though I see their name in the list of issues they are not in the drop down menu.

2055_git.diff Magnifier (3.9 KB) Jean-Baptiste Barth, 2010-06-24 22:44

History

#1 Updated by Jean-Baptiste Barth over 7 years ago

  • File 2055_svn.diff added
  • Category set to Issues
  • Affected version (unused) set to devel

Proposition of patch attached, with some unit tests.

I still have a doubt on how private projects work, so maybe it has to be refined : let's say you have a public project with a private subproject. For the moment, you see issues of the subproject in the main project, so it's OK if users of this subproject appear in the filters. But maybe it's not desired behaviour...

#2 Updated by Eric Davis over 7 years ago

If the parent project is public and the child project is private, you shouldn't be able to see any of the child project's issues.

#3 Updated by Jean-Baptiste Barth over 7 years ago

Ok, I was admin so my test was wrong. I have to refine the patch.

#4 Updated by Jean-Baptiste Barth over 7 years ago

New patch, adapted to respect project privacy. I'd like somebody to test it before it is integrated..

#5 Updated by Jean-Baptiste Barth over 7 years ago

  • File deleted (2055_svn.diff)

Also available in: Atom PDF