def METHOD_NAME(team, user, project):
    u = user('team_admin', False)
    team.member_role.children.add(project.use_role)
    team.admin_role.members.add(u)
    assert len(Project.accessible_objects(u, 'use_role')) == 1