View Issue Details

IDProjectCategoryView StatusLast Update
0024683mantisbtadministrationpublic2018-08-20 13:06
Reporterfman Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2.14.0 
Summary0024683: Configuration Report - Create User List when Using Subprojects - Only First Level Subprojects are analized
Description

Create 3 users
UA,UB,UC

Create Following Project Hierarchy, ALL PROJECTS and SUBPROJECTS are PRIVATE

TOP
| LEVEL 1
|
LEVEL 2

Assign Users this way

TOP (UA,UB)
| LEVEL 1
|
LEVEL 2 (UC)

Login as admin, go to configuration report , Choose ALL PROJECT on NAV BAR, try to create a config option for UC, you will not get UC on User List

But if you add a new TOP PROJECT TOP02, then

TOP (UA,UB)
| LEVEL 1
|
LEVEL 2 (UC)

TOP02 (UC)

now you get UC.

I've done some debug and issue seem to be related to how user_get_accessible_projects() construct the list,
using project_hierarchy_get_subprojects(), but in this particular situation project_hierarchy_get_all_subprojects() seems to be a better choice.

TagsNo tags attached.

Activities

There are no notes attached to this issue.