jupyter / jupyter/nbgrader

Multicourse Setup - Students see all classes not just ones enrolled in using jupyterhub auth

Open
#1,663 1 comment 1 reaction 0 assignees View on GitHub
question
Dominant language
Python
Stars
1.4k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

JH 1.4.2
NBGrader 0.6.1

Following instructions from https://nbgrader.readthedocs.io/en/stable/configuration/jupyterhub_config.html#jupyterhub-authentication

My multiclass setup works no problem I just want to be able to get only users to see the courses they are added in. Students are added into the DB (DB using postgresql)

I've added in /etc/jupyter/nbgrader_config.py

from nbgrader.auth import JupyterHubAuthPlugin
c = get_config()
c.Exchange.path_includes_course = True
c.Authenticator.plugin_class = JupyterHubAuthPlugin

Released assignments do not come up in the assignments list, when i remove this file they show up. I can't figure out why its not pulling the assignments only for the courses the students are enrolled in.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.