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

Restore course with user data on workplace tenant does not create tenant users

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.9.4
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      In order to restore a course with enrolled users from another Moodle site into a Moodle Workplace tenant, the capability "moodle/restore:createuser" is needed. The capability can not be added to a tenant administrator. The problem: Tenant admin can therefore not restore courses with user data.

      So workaround is to assign a system role with that capability to the tenant administrator. Problem: Users are created, but not as tenant users, so tenant admin basically has problems to deal with these users (can not see user details, they are not in the list of tenant users, etc.)

      Workaround 2: Upload users before restoring the course via CSV. That turns out to be very complicated. Maybe it works, if all users of a site are restored, but it is not possible to filter user by course enrolments.

      Basically: Restoring a course to a tenant with user data is not possible. Also migrating a site to a tenant is thus very complicated.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dasistwas David Bogner
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: