-
Bug
-
Resolution: Fixed
-
Minor
-
2.7.3, 2.8, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-48660-master -
Teachers who have capability 'moodle/course:viewhiddenactivities' get filtered out out by filter_user_list() even though they actually CAN access the module even if they don't satisfy conditions.
At the same time it may still be useful to perform a condition-only filtering.
Please consider adding the argument to respect view hidden permission.
Also if it is possible to define _sql function, that will be just awesome!
- Discovered while testing
-
MDL-48625 Function to filter list of users who can see the activity
- Closed