Setting course visibility to ' Not available' from settings page to prevent students access

Setting course visibility to ' Not available' from settings page to prevent students access

by Johnny Tsheke -
Number of replies: 3

Hi every one,

Currently, the only way to prevent enrolled students access in a course is to hide it. This is not always desirable.  Students or learners might  think they are not enrolled or the course doesn't exist. Sometimes a teacher wants only to prevent students access while  letting them know  that the course does exist but the access is prevented.   There are a lot of use cases for which a teacher would prefer to prevent students access than hiding the course. e.g. To make some update or to prevent access temporary.  Un fortunately, there is nothing  which could help to solve this issue.


When Moodle is in a maintenance mode, users can reach the website but they cannot access it. They get a message that Moodle is in maintenance. It would be better to have the same kind of functionality at the course level.   


To solve this issue, we suggest to add a third value for the visibility parameter at the course settings page:

  • hide
  • show
  • Not available


With the third value ('not available'), the course is shown but students cannot access it. Enrolled student can see it on their dashboard. The course is returned in search result but  when a student try to access, they get a message that the course is not available. 

We developed this feature and the issue is being tracked on https://tracker.moodle.org/browse/MDL-64754. It would be helpful to have community feedback on the feature and, if you want to to see it on moodle, to vote for it.


Thanks a lot.

 



Average of ratings: -
In reply to Johnny Tsheke

Re: Setting course visibility to ' Not available' from settings page to prevent students access

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

Or you could just hide the enrolment method/s in a particular course...

In reply to Jon Bolton

Re: Setting course visibility to ' Not available' from settings page to prevent students access

by Johnny Tsheke -

Thanks Jon for the feedback. Hiding/disabling  enrolment method would not prevent enrolled student access.  Currently, the only way to do that  is to hide the course itself. 

In reply to Johnny Tsheke

Re: Setting course visibility to ' Not available' from settings page to prevent students access

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

Actually, disabling the enrolment method does prevent access to already enrolled users, certainly for the manual enrolment method anyway. But it also takes the course off the My Courses list sad

Have voted for your patch smile

Average of ratings: Useful (1)