Issue Details (XML | Word | Printable)

Key: MDL-15302
Type: Bug Bug
Status: Resolved Resolved
Resolution: Not a bug
Priority: Critical Critical
Assignee: Jerome Mouneyrac
Reporter: M. Stütz
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 18/Jun/08 10:06 PM   Updated: 31/Oct/08 11:20 AM
Component/s: Course
Affects Version/s: 1.9
Fix Version/s: 1.9.4

Environment: Moodle Belwü

Database: MySQL
Participants: Jerome Mouneyrac, M. Stütz, Martin Dougiamas, Petr Škoda (skodak), Sam Marshall and Ulrike Montgomery
Security Level: None
Resolved date: 31/Oct/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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.



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Škoda (skodak) added a comment - 18/Jun/08 10:15 PM
Dobrý den,
pot?eboval bych více informací, abych se mohl pokusit to zreprodukovat a pokud mo?no anglicky.

D?kuji
Petr ?koda


Sam Marshall added a comment - 18/Jun/08 10:28 PM
?????????????????

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?)


Ulrike Montgomery added a comment - 23/Jun/08 06:37 AM
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.

Martin Dougiamas added a comment - 06/Oct/08 02:03 PM
Jerome, can this be confirmed as a bug? Can you test it please?

Jerome Mouneyrac added a comment - 07/Oct/08 11:19 AM
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.


M. Stütz added a comment - 08/Oct/08 02:56 PM
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


Jerome Mouneyrac added a comment - 08/Oct/08 03:42 PM
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.


M. Stütz added a comment - 14/Oct/08 06:40 PM
>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.

Jerome Mouneyrac added a comment - 15/Oct/08 09:23 AM - 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.

M. Stütz added a comment - 16/Oct/08 02:46 AM
That's it! Thank you very much.

Jerome Mouneyrac added a comment - 31/Oct/08 11:20 AM
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.