Outside of the scope of the course format = theme thing. If you can identify that its a student from the body tag attributes then you can write some SCSS. Otherwise, probably PHP code in a child theme to operate on capabilities.
Courses and course formats
How to hide navigation bar in courseview for student
This discussion has been locked so you can no longer reply to it.