New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course filtering not working #53

Closed
mkpelletier opened this Issue Feb 26, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@mkpelletier
Contributor

mkpelletier commented Feb 26, 2018

Version: 3.3.0 (2017072502)
Moodle version: 3.3.3+ (Build: 20171228)

The course filter (other settings > course categories included [block_fn_mentor | coursecategories]) does not appear to function properly. When selecting anything other than "all categories", mentor users are not able to see mentee enrolments. Instead, the report says "This student is not enrolled in any courses".

The problem only appears to manifest on some students, though not all. Without the category limitation, all students display fine.

@mkpelletier

This comment has been minimized.

Contributor

mkpelletier commented Feb 26, 2018

I think I cracked it. The problem relates to categories that are hidden. In order for mentors to see past courses (which we usually hide to keep one of our custom menus clear of inactive courses), the following permissions must be set on the mentor-system role:

moodle/category:viewhiddencategories [allow]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment