I think to do this you need to use Groups and Groupings -you would have to put your cohort into a group, then a grouping and assign the activity to that grouping,Take a look at the documentation here http://docs.moodle.org/20/en/Grouping_users
Roles and permissions
Making an isolated resource/activity available to a cohort
This discussion has been locked so you can no longer reply to it.