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

group and groupings can be deleted if they have an idnumber of '0' even if the user does not have course:changeidnumber

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Groups
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Discovered whilst testing MDL-32005.

      We need to change the relevant tests to (empty($idnumber) && $idnumber !== '0')

      We also need to decide whether this should happen - there are other parts of moodle where this may very well fall through the gaps.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: