-
Improvement
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-59913-master -
At present the global search only works on courses in which the user is enrolled.
In Moodle, users can access other courses as well as enrolled ones:
- Courses where the user has moodle/course:view capability
- Courses that allow guest access (with no password)
- Courses that allow guest access with a password (and the user has provided a password)
(In all cases, the course must be visible, or the user must have the viewhiddencourses capability.)
The search facility should also work on these courses.
Because of current limitation MDL-54992 that may cause search to stop working if the user can access more contexts, it will probably be necessary to include an admin setting to enable/disable this feature - otherwise there is a risk that sites which use search heavily, and also have lots of courses in the above categories, might find that search stops working for their users. The admin setting could be removed if MDL-54992 is fixed.