 
           awaitProjectCompleteness = Promise.resolve(project.completeness > 0.99)
 
-          awaitProjectRoles = apiClient.type('project_roles').get(project.links.project_roles).catch((error) => console.error(error))
+          awaitProjectRoles = apiClient.type('project_roles').get({ project_id: project.id, page_size: 50 }).catch((error) => console.error(error))
 
           awaitPreferences = @getUserProjectPreferences(project, user)
 

      .then =>
        @setState loading: false

  canFetchWorkflowByQuery: (project, user) ->
    if project?
      'allow workflow query' in project.experimental_tools or @checkUserRoles(project, user)

  getUserProjectPreferences: (project, user) ->
    @listenToPreferences null


          @setState({ loadingSelectedWorkflow: false, workflow })
        else
          console.log "No workflow #{selectedWorkflowID} for project #{@state.project.id}"
          if @props.location.query?.workflow?
            @context.router.push "/projects/#{@state.project.slug}/classify"
          @clearInactiveWorkflow(selectedWorkflowID)
            .then(@getSelectedWorkflow(@state.project, @state.preferences))

