Commit 058b53ba authored by unknown's avatar unknown

Bugfix : les membres d'un groupe mahara peuvent désormais créer des pages par défaut

parent 9340f28a
......@@ -75,7 +75,6 @@ if (count($students) == 0) {
'role' => "admin",
));
}
//All params used for mahara_group_create_groups her we can add/change some lines
$params = array (
'groups' =>
......@@ -88,7 +87,8 @@ if (count($students) == 0) {
'request' => true,
'public' => false,
'institution' => $CFG->instution_mahara,
'members' => $usersTab
'members' => $usersTab,
'editroles' => 'all'
)
)
);
......
......@@ -71,6 +71,7 @@ if (count($students) == 0) {
continue;
}
array_push($mahara_groups, array(
'name' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $group->name,
'description' => get_string('course_group', 'block_mahara_iena') . " " . $COURSE->shortname . " – " . $group->name,
......@@ -78,7 +79,8 @@ if (count($students) == 0) {
'request' => true,
'public' => false,
'institution' => $CFG->instution_mahara,
'members' => $usersTab
'members' => $usersTab,
'editroles' => 'all'
));
array_push($name_groups, array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment