mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Ordinary teachers can assign students
This commit is contained in:
parent
4d9d90c006
commit
6b42ea66a7
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
require_login($course->id);
|
require_login($course->id);
|
||||||
|
|
||||||
if (!isteacheredit($course->id)) {
|
if (!isteacher($course->id)) {
|
||||||
error("You must be able to edit this course to assign students");
|
error("You must be a teacher in this course, or an admin");
|
||||||
}
|
}
|
||||||
|
|
||||||
$strassignstudents = get_string("assignstudents");
|
$strassignstudents = get_string("assignstudents");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue