Example:
You have an admin A, he can see projects X and Y.
You have a developer B, he can only see project X.
If developer B want to query bugs, he will see both
projects X and Y in the projects list.
To correct this, in functions.php line 93, replace
the line :
: $querystart." where project_id not in (".$db->quote
($restricted_projects).")".
by :
: $querystart." where project_id not in
(".$restricted_projects.")".
And in functions.php lines 454 & 455, replace lines :
$rs = $db->query(sprintf($QUERY['functions-project-
js'],
$db->quote(@join(',', $_SESSION['group_ids']))));
by :
$rs = $db->query(sprintf($QUERY['functions-project-
js'], @join(',', $_SESSION['group_ids'])));
Logged In: YES
user_id=901568
Originator: NO
It does work. Thanks. :)