Yep. Have a look at conditional activities in the moodle docs.
Needs to be enabled in the site administration settings.
Vinny
Teaching with Moodle
Customer access restriction
This discussion has been locked so you can no longer reply to it.