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

add warning when teacher tries to disable enrolment method (same as when deleting it)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4.1, 2.5
    • Fix Version/s: 2.6
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      1/ enrol user as teacher to course
      2/ login as teacher and try to hide the enrolment instance - you should get a warning
      3/ login as admin and unhide the enrol instance
      4/ login as that teacher and try to edit the manual enrolment instance - the form should display a warning
      5/ login as that teacher and try to delete the enrolment instance - you should get a warning

      Show
      1/ enrol user as teacher to course 2/ login as teacher and try to hide the enrolment instance - you should get a warning 3/ login as admin and unhide the enrol instance 4/ login as that teacher and try to edit the manual enrolment instance - the form should display a warning 5/ login as that teacher and try to delete the enrolment instance - you should get a warning
    • Workaround:
      Hide

      none

      Show
      none
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w41_MDL-37717_m26_enrolwarn
    • Story Points:
      2
    • Sprint:
      BACKEND Sprint 5

      Description

      Teacher with default permissions can "disable" enrolment method which is used for his/her own access to a course. There is a warning when he/she tries to "delete" the enrolment method.
      As both actions result in locking the teacher out of his/her course, it would be highly beneficial to have similar warning for "disabling" enrolment method.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              complicator Pavel Krejci
              Integrator:
              Marina Glancy
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13