Lesson activity available to guests

Lesson activity available to guests

Olumuyiwa Taiwo發表於
Number of replies: 3
Plugin developers的相片
Several courses on one of my Moodle sites have been set up to allow guests in without the enrolment key. This is so that they can look around, but not take part in any activities until they are enrolled on the course. So far, I have been able to restrict their ability to participate in forums, face-to-face, wikis, etc. by setting the appropriate permissions for the capabilities of the guest role.

But I'm unable to find any capability that allows me to restrict the ability of guests to do the Lesson activity in courses. It seems that as long as they have the moodle/course:view permission set to allow (which needs to be set so that guests can view the courses), they are able to do the Lesson activity.

Is there a way to ensure that the Lesson activity is not available to guests?

Thanks,
Muyi

評比平均分數: -
In reply to Olumuyiwa Taiwo

Re: Lesson activity available to guests

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
You are right, there is no "attempt" capability for the Lesson capability (in Moodle 1.9). I guess that the reason is that the Lesson module is no longer actively maintained and was never updated for capabilities, unlike the Quiz module. I have created bug report MDL-20087 for which anyone interested can vote.
Joseph
In reply to Joseph Rézeau

Re: Lesson activity available to guests

Naveed Max發表於
Joseph,

I also voted on MDL-20087. But, I think, in lesson, instead of calling it an "attempt" issue (which might be mixed up with 'Maximum number of attempts' in Flow control box' in lesson setting, it should be a "Student can re-take" issue in 'Grade option' box in lesson setting.

In Grade Option box, "Student can re-take" has only two options. Yes or No. So, it should has, just like in quiz, 1 to 10 retake options..

Thanks,

Naveed