Recently during one of our training events, a participant had a need to prevent students from posting to forums from earlier in a course.The course in question ran over a number of months and included several forum activities addressing specific topics at different stages in the course.
It was difficult for the tutor to devote time to monitoring all of the forums within the course; the tutor, therefore, wanted to “lock” the forums so that, whilst students should still be able to review the discussion threads from earlier forums, they should not be able to post to them.
In Moodle, whilst you can control when a forum can be accessed (using the Restrict access functionality), there are no options in the Forum settings page to control when people are allowed to post to the forum.
The solution to this participant’s specific need lay, therefore, within overriding the Student role’s permissions within an activity. The solution is explained below: