from my opinion it would be fine to make the search options more configurable. Here some first ideas.
Search result levels:
- Search results are visible for public (people who are not logged in). May be intersting for people who want to use thsi for marketing purposes, also for not public courses.
- Search results are visible for logged in users even if they are not enrolled
- Search results only for users who are enroled in a course and the content is available for them
- Search results only for editing teachers and admins, managers
- Blocked for global search.
Course (sometimes courses are used by the Board or a Project group and content should not be visible to anybody else, even not by global search.)