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

Add suspend only unenrolaction to enrol_cohort

    XMLWordPrintable

    Details

      Description

      In 2.3 (MDL-30944) Petr added the unenrolaction to enrol_cohort. This proposed improvement is to add the ENROL_EXT_REMOVED_SUSPEND action to that list so that it's possible for users to merely be suspended but not lose their roles.

      This is necessary for the scenario in where it's be desirable for users to remain in the course and suspended, but you still want to be able to see them in the gradebook. If they're stripped of all their roles, then the gradebook won't show them.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aolley Adam Olley
              Reporter:
              aolley Adam Olley
              Peer reviewer:
              Petr Skoda
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: