Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not a bug
-
2.2.1, 2.3.3, 2.4
-
None
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-32485_25 -
-
Description
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...
Attachments
Issue Links
- will be (partly) resolved by
-
MDL-44725 Condition availability: Replace groupmembersonly
-
- Closed
-