Daniel, I also have a course I run thru Discourse. I use a category + subcategory that allows for easiest restricting.
Category: Acme Course
Sub Category: 2020-05 - Course Conversations
The students in a specific cohort only see one subcategory.
It’s not perfect but it works!