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

Teachers are able to create user accounts during restore even they don't have "moodle/user:create"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9.2
    • 1.9.8
    • Backup
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      Please read http://moodle.org/mod/forum/discuss.php?d=106252 and http://moodle.org/mod/forum/discuss.php?d=104358

      FULL STEPS TO REPRODUCE
      =========================
      1. go to server A
      2. backup a course together with user accounts
      3. go to server B and log in as a Teacher or Course creator
      4. restore the backup

      WHAT WAS EXPECTED
      ===================
      As neither Teacher nor Course creator have granted capability "moodle/user:create", no users are restored

      WHAT ACTUALLY HAPPENS
      =======================
      New users are registered. The Admin does not know anything.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              mudrd8mz David Mudrák (@mudrd8mz)
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              20 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Mar/10