-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.0.9, 4.1.4, 4.2.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
In 3.11 a site-admin user who gets enrolled to a course as a "Teacher" does not have a "Add submission" button when visiting assignment.
In 4.0+ a site-admin user who gets enrolled to a course as a "Teacher" has the "Add submission" button when visiting an assignment. This is despite the mod/assign:submit is Not Set for teacher role.
Take note that in 4.0+ a user (NOT a site-admin) who gets enrolled to a course as a "Teacher" does NOT have the "Add submission".
So this appears to affect only 4.0 up to 4.2+ and users who are site-admin.
Replication: 4.0 to 4.2
- Add a user to site-admin.
- Create a course and enrol that user as a Teacher
- As the site-admin user (who is enrolled as a teacher), visit the course and assignment
- RESULT: The "Add submission" button is available.
- Add a user (NOT a site-admin) and enrol that user as a "Teacher" to that course.
- Visit the assignment
- RESULT: There is NO "Add submission".
- duplicates
-
MDL-73578 Unexpected access to assignment submission for site administrators
-
- Open
-