Moodle

All site users ending up in a course backup with course users

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Not a bug
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.4
  • Component/s: Course
  • Labels:
    None
  • Environment:
    Moodle Belwü
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

When backing up a course (eg. 1 teacher, 3 students) not only the 4 users of the course are backed up, but every user of the entire installation including the admin. The backup option "users - course" was selected but all the users ended up in the backup.

Was: Bei der Durchführung einer Kurssicherung (z.B. 1 Trainer, 3 Teilnehmer) werden nicht nur die Kursteilnehmern, sondern alle z.B. 96 Benutzer der Moodle-Umgebung inkl. des Moodleadmins gesichert.

Activity

Hide
Petr Škoda (skodak) added a comment -

Dobrý den,
pot?eboval bych více informací, abych se mohl pokusit to zreprodukovat a pokud mo?no anglicky.

D?kuji
Petr ?koda

Show
Petr Škoda (skodak) added a comment - Dobrý den, pot?eboval bych více informací, abych se mohl pokusit to zreprodukovat a pokud mo?no anglicky. D?kuji Petr ?koda
Hide
Sam Marshall added a comment -

?????????????????

To be a bit more helpful, I babelfished the original (babelfish is better than my degree of german knowledge) and after correcting a typo got:

At the time of the execution of a course protection (e.g. 1 coach, 3 participant) becomes secured not only class participants, but all e.g. 96 users of the Moodle environment the inclusive Moodleadmins.

I think this means that when you backup a course it includes all users in the whole system. (Which it is supposed to do if you choose that option, isn't it?)

Show
Sam Marshall added a comment - ????????????????? To be a bit more helpful, I babelfished the original (babelfish is better than my degree of german knowledge) and after correcting a typo got: At the time of the execution of a course protection (e.g. 1 coach, 3 participant) becomes secured not only class participants, but all e.g. 96 users of the Moodle environment the inclusive Moodleadmins. I think this means that when you backup a course it includes all users in the whole system. (Which it is supposed to do if you choose that option, isn't it?)
Hide
Ulrike Montgomery added a comment -

Here is the 'human' translation:
"When backing up a course (eg. 1 teacher, 3 students) not only the 4 users of the course are backed up, but every user of the entire installation including the admin. "
I'm pretty sure the backup option "users - course" was selected and then all the users ended up in the backup.

Show
Ulrike Montgomery added a comment - Here is the 'human' translation: "When backing up a course (eg. 1 teacher, 3 students) not only the 4 users of the course are backed up, but every user of the entire installation including the admin. " I'm pretty sure the backup option "users - course" was selected and then all the users ended up in the backup.
Hide
Martin Dougiamas added a comment -

Jerome, can this be confirmed as a bug? Can you test it please?

Show
Martin Dougiamas added a comment - Jerome, can this be confirmed as a bug? Can you test it please?
Hide
Jerome Mouneyrac added a comment -

I tried on the last 1.9 version.

Test Steps:
Go to a course with 3 participants (no admin) (I've got 10 users in my site)
Backup (with default options)
=> the backup file contains the 3 participants + the admin
Restore (with default options)
=> the course still has the 3 participants (the admin wasn't added to the participants)

M. Stutz, do you change the backup options? Please detail your steps, thank you.

Show
Jerome Mouneyrac added a comment - I tried on the last 1.9 version. Test Steps: Go to a course with 3 participants (no admin) (I've got 10 users in my site) Backup (with default options) => the backup file contains the 3 participants + the admin Restore (with default options) => the course still has the 3 participants (the admin wasn't added to the participants) M. Stutz, do you change the backup options? Please detail your steps, thank you.
Hide
M. Stütz added a comment -

I tried on Moodle 1.92 (Build: 20080711)
with the option " backup_sche_users = course"
the course backup option "all" users is still available.

CASE 1: course backup with the option "all" users
all user will be save
"Alle Nutzer/innen einbeziehen: Nutzer/innen 300"

CASE 2: course backup with the option "course"
only the course users will be save
Kursteilnehmer/innen einbeziehen: Nutzer/innen 13

Show
M. Stütz added a comment - I tried on Moodle 1.92 (Build: 20080711) with the option " backup_sche_users = course" the course backup option "all" users is still available. CASE 1: course backup with the option "all" users all user will be save "Alle Nutzer/innen einbeziehen: Nutzer/innen 300" CASE 2: course backup with the option "course" only the course users will be save Kursteilnehmer/innen einbeziehen: Nutzer/innen 13
Hide
Jerome Mouneyrac added a comment -

thank you. I think I understood your problem.

You go to: Administration > Courses > Backups
On this page, you set the 'Users' field to 'Course' (Default: All).

Then you go to a Course page > Backup
On this page, the 'Users' field still has the 'All' option

Is that right?

If yes I think it's normal. I went to see the administration documentation (http://docs.moodle.org/en/admin/setting/backups). Apparently "Administration > Courses > Backups" enables administrators to configure automated course backups. So it's not related with the "Course page > Backup" page.

If no, please explain with more details, thank you.

Show
Jerome Mouneyrac added a comment - thank you. I think I understood your problem. You go to: Administration > Courses > Backups On this page, you set the 'Users' field to 'Course' (Default: All). Then you go to a Course page > Backup On this page, the 'Users' field still has the 'All' option Is that right? If yes I think it's normal. I went to see the administration documentation (http://docs.moodle.org/en/admin/setting/backups). Apparently "Administration > Courses > Backups" enables administrators to configure automated course backups. So it's not related with the "Course page > Backup" page. If no, please explain with more details, thank you.
Hide
M. Stütz added a comment -

>Is that right?
Yes it is!
>If yes I think it's normal.
I don't think so, because ONE trainer can get the personal datas of ALL USERS.
In Germany it solve a problem to save personal datas of not course users.
It's only necessary to save the personal datas of all course users.

Show
M. Stütz added a comment - >Is that right? Yes it is! >If yes I think it's normal. I don't think so, because ONE trainer can get the personal datas of ALL USERS. In Germany it solve a problem to save personal datas of not course users. It's only necessary to save the personal datas of all course users.
Hide
Jerome Mouneyrac added a comment - - edited

Hi,
to summarize, you'd like a functionality that forbid a Course Page backup to display the 'All' users option. I'll come back to you to confirm if this functionality already exists or not.

Show
Jerome Mouneyrac added a comment - - edited Hi, to summarize, you'd like a functionality that forbid a Course Page backup to display the 'All' users option. I'll come back to you to confirm if this functionality already exists or not.
Hide
M. Stütz added a comment -

That's it! Thank you very much.

Show
M. Stütz added a comment - That's it! Thank you very much.
Hide
Jerome Mouneyrac added a comment -

Hi, I asked around and I had a look but apparently there is no way yet to remove this option. Please write a new issue (http://tracker.moodle.org/secure/CreateIssue!default.jspa), select "improvement" Issue Type and describe the missing functionality.
Thank you.

I close this issue as it's not a bug.

Show
Jerome Mouneyrac added a comment - Hi, I asked around and I had a look but apparently there is no way yet to remove this option. Please write a new issue (http://tracker.moodle.org/secure/CreateIssue!default.jspa), select "improvement" Issue Type and describe the missing functionality. Thank you. I close this issue as it's not a bug.

Dates

  • Created:
    Updated:
    Resolved: