Fixed permission error with get_gradebook.

* This is unrelated to the internal error that was getting raised.