Commit abae8f01 authored by Richard Mansfield's avatar Richard Mansfield

Controlled group admins should be able to see & release submitted views

parent 648ebd52
......@@ -57,7 +57,7 @@ class GroupTypeCourse extends GroupType {
}
public static function get_view_assessing_roles() {
return array('tutor');
return array('tutor', 'admin');
}
public static function default_role() {
......
......@@ -1453,6 +1453,10 @@ function xmldb_core_upgrade($oldversion=0) {
set_config('createpublicgroups', 'admins');
}
if ($oldversion < 2008111102) {
set_field('grouptype_roles', 'see_submitted_views', 1, 'grouptype', 'course', 'role', 'admin');
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2008111101;
$config->version = 2008111102;
$config->release = '1.1.0beta3dev';
$config->minupgradefrom = 2007080700;
$config->minupgraderelease = '0.8.0 (release tag 0.8.0_RELEASE)';
......
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