'List all projects available to an authenticated user.
:param context: request context
:returns: list of accessible projects'

@controller.protected()
def list_projects_for_user(self, request):

    projects = self.assignment_api.list_projects_for_groups(request.auth_context['group_ids'])
    projects = (projects + self.assignment_api.list_projects_for_user(request.auth_context['user_id']))
    projects = [dict(t) for t in set([tuple(d.items()) for d in projects])]
    return ProjectAssignmentV3.wrap_collection(request.context_dict, projects)
