Defect #19187

Roadmap links in subproject

Added by Dmc NSG almost 3 years ago. Updated 17 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Roadmap
Target version:-
Resolution: Affected version:2.6.2

Description

I have redmine with Project1 and Subproject2. There are two versions in Project1: Ver1 and Ver2, both shared with subprojects.
Then I have two users: Admin1 and User2.
Admin can view everything. User2 is assigned to Subproject2.
There are 2 issues in Project1/Ver1, 3 in Project1/Ver2 and 4 in Subproject2/Ver1.

For User2 links in roadmap are broken. They all link to Project1. Numbers are wrong too, this particular user should see only 4 issues, and not everything from Project1 - 9 issues. Links points to Project1 so they give 403 for that user.

I think that version.issue count should include permissions. Links should point to right context which is actual project.
Or maybe there should be more links for more cotexts like:
9 issues (0 closed — 9 open) - Project1
4 issues (0 closed — 4 open) - Subproject1/Ver2

Right now this place constantly gives 403 error, users are not allowed to view parent project, they expect to see their context (smaller number of issues and query from actual project).


Related issues

Related to Redmine - Defect #15248: Ticket count in roadmap view wrong Closed
Related to Redmine - Defect #19059: Wrong number of issues for a version in the roadmap New

History

#1 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #15248: Ticket count in roadmap view wrong added

#2 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #19059: Wrong number of issues for a version in the roadmap added

#3 Updated by Kevin Palm 10 months ago

+1

#4 Updated by Marius BALTEANU 17 days ago

This issue was fixed by r17051.

I've attached a test that passes on the current trunk, but fails on r17049 or any other revision before.

In case of #27676 will not be made public, I propose to add this issue to version 4.0.0 because it deserve to be in the changelog, it is an important fix.

Also available in: Atom PDF