Post Tue Sep 11, 2018 9:23 am

Empty Project list when use Project Roles

When a User has Project Role, this Project not choiceable in main Tasks/Tickets menu (index.php/tasks or index.php/tickets) Add Task/Ticket button.
If there are ony such projects, in the main Tasks/Tickets menu New Task/Ticket event say:
"Projects Not Found"

I temporarily turned off this code:
/core/lib/model/app.class.php

public static function getProjectChoicesByUser($sf_user,$add_empty = false,$module='',$check_insert=false)
(...)
if(count($list = ProjectsRoles::getNotAllowedProjectsByModule($module,$sf_user->getAttribute('id'),$check_insert))>0)
{
// $q->whereNotIn('p.id',$list);
}