which jurisdiction (country) are you in?
E.g., in Germany, all your academic work clearly belongs to you, not
the academic institution (as much as I would like that to be different).
(Think about it -- to get academic credit, it must be *your* work, and
so *you* have the author's rights [Urheberrechte]. Things might be
different only under an employment contract, and even there the ice is
thin, because you can't be employed for academic credit. If
inventions [patents] become involved, things get slightly more
complicated though.)
That's why we actually sign contracts at the beginning of my Rails
courses here!
IANAL, though.
Gruesse, Carsten