How do i restrict a users access to a specific course

How do i restrict a users access to a specific course

by Oliver Williams -
Number of replies: 2
Sorry everyone but i need help.

I'm desperately trying to understand how moodle works its magic and right now i have a specific problem. I can't seem to see any way to only show users the courses they have been assigned to. I've tried setting roles within course and placing users in the roles but for some reason when i log in as a student i can always see and access every course and its activities.

All i want is for the 'home page' to only show the courses that the student is enrolled on.

Please help a newbie!

Thanks,

Ollie
Average of ratings: -
In reply to Oliver Williams

Re: How do i restrict a users access to a specific course

by John White -
Oliver,

There are quite a few things to check on, so look first to things you might have changed already, because often the default setting would have done nicely!

in Administration->Front Page->Front Page Settings...
Set 'frontpage' to none, none, none, none
Set 'frontpageloggedin' to 'list of courses', none, none, none
(or 'Combo list', none, none, none if you are using Categories).

in Administration->Users->Permissions->User Policies
compare your settings with the picture attached.

in Administration->Users->Permissions->Assign System Roles
don't assign any student a system role at all - the only user who really MUST have a system role is of course Admin User!

in the Course settings for each course,
don't allow guests in,
allow student access (of course) but set a course enrolment key to keep out users you haven't pre-assigned a student role to.

That might be enough.

Also read about the My Moodle option (as an alternative approach)
http://docs.moodle.org/en/My_Moodle

Regards,
John

PS: This post would be more appropriate in the General Problems forum
Attachment user_policies2.jpg
In reply to John White

Re: How do i restrict a users access to a specific course

by Helen Foster -
Piksa bilong Core developers Piksa bilong Documentation writers Piksa bilong Moodle HQ Piksa bilong Particularly helpful Moodlers Piksa bilong Plugin developers Piksa bilong Testers Piksa bilong Translators
Moving to the general problems forum as suggested...