Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7.3, 2.8, 2.9
-
Component/s: Assignment, Conditional activities, Feedback, Forum, Quiz
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
Fixed Branches:MOODLE_27_STABLE, MOODLE_28_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-48660-master -
Pull Master Diff URL:
Description
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!
Attachments
Issue Links
- Discovered while testing
-
MDL-48625 Function to filter list of users who can see the activity
-
- Open
-