Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78574

mod_assign: "Add submission" for Teachers with Site Admin roles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 4.0.9, 4.1.4, 4.2.1
    • Assignment
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE

    Description

      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

      1. Add a user to site-admin.
      2. Create a course and enrol that user as a Teacher
      3. As the site-admin user (who is enrolled as a teacher), visit the course and assignment
      4. RESULT: The "Add submission" button is available.
      5. Add a user (NOT a site-admin) and enrol that user as a "Teacher" to that course.
      6. Visit the assignment
      7. RESULT: There is NO "Add submission".

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jebarvia Joshua Ebarvia
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.