Rough sketch: (just a very rough idea, feel free to tweak/overhaul it as you deem fit)
Some design I propose to include:
Put an icon in the right side of the module tag to indicate the role (i.e. one icon each for Professor, TA and Student). The icons I chose above may not be the most intuitive and we can find better options online. I recommend Alibaba Vector Icon Library which offers plenty of free icons.
Use different colors for each role as well, so that the user can know the role instantly after they get used to our color scheme.
Rough sketch: (just a very rough idea, feel free to tweak/overhaul it as you deem fit)
Some design I propose to include: