-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.0.9, 4.1.4, 4.2.1
-
None
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
It appears that stealth activities is visible to users/students when going to activity index page in a course.
Steps to replicate.
- Create a course.
- Turn edit mode to On.
- On section 2 add a quiz.
- On the course contents page, click "edit" and "hide" the quiz. The quiz will now be displayed with message "hidden from students"
- Add another quiz and save and return to course.
- On the course page, click the edit button for section 2 and click hide topic.
- RESULT: All quizzes includin the section would have a message "Hidden from students"
- No click edit button for the first quiz and click "Make available". The message should now be displayed for the first quiz "Available but not shown on course page".
- Log in as student or switch role to student.
- Visit and list the quizzes for that course using the format URL/mod/quiz/index.php?id=[courseid].
- RESULT. Users/students can see and access the first quiz.
- Go to the course page, and it is not visible (because it is stealth activity.
However, per description of stealth setting it says
Allow stealth activities allowstealth
|
Default: No
|
If enabled, activities can be made available but not shown in visible sections of the course page. If so, links to stealth activities must be provided from elsewhere, such as from a page resource. Stealth activities are still listed in the gradebook and other reports.
|
Perhaps the stealth activity should be hidden as well from the mod/[activity]/index.php page as well?