-
Bug
-
Resolution: Not a bug
-
Critical
-
None
-
2.2.1, 2.3.3, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-32485_25 -
-
Hello all,
when enabling the enablegroupmembersonly - flag in Experiemental settings the course content is completely disappeared for role participant.
I found that there must be going wrong in update_user_visible()
The debugger jumps into
else if (!empty($CFG->enablegroupmembersonly) and !empty($this->groupmembersonly)
|
and !has_capability('moodle/site:accessallgroups', $modcontext, $userid)) {
|
$groups = $this->modinfo->get_groups($this->groupingid);
|
.....
|
Then group is empty... so that uservisible is set to "false"
In the corresponding course there is NO group setting done.
That makes no sense.
Hope somebody can help...
- will be (partly) resolved by
-
MDL-44725 Condition availability: Replace groupmembersonly
- Closed