From MoodleDocs

You need to enrol in the course in order to post in a forum. You may do so by returning to the course page and following the "Enrol me in this course" link in the administration block.

If you are already enroled in the course, you may not have permission to post to this particular forum, as set by the Teacher for the course or the system administrator.