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.
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. :)