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"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9.2
    • Fix Version/s: 1.9.8
    • Component/s: Backup
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  20 Vote for this issue
                  Watchers:
                  20 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Mar/10