Ordinary teachers can assign students
This commit is contained in:
+2
-2
@@ -20,8 +20,8 @@
|
||||
|
||||
require_login($course->id);
|
||||
|
||||
if (!isteacheredit($course->id)) {
|
||||
error("You must be able to edit this course to assign students");
|
||||
if (!isteacher($course->id)) {
|
||||
error("You must be a teacher in this course, or an admin");
|
||||
}
|
||||
|
||||
$strassignstudents = get_string("assignstudents");
|
||||
|
||||
Reference in New Issue
Block a user