|
|
Hi,
After fixing MDL-6084 (for 1.6.x) I've taken a look to the corresponding code under 1.7, just to see that the expected functionality is currently deleted, so, if the user restoring the course isn't in the restore file itself, he isn't able to handle the restored course! (originally this was MDL-2381 some months ago).
So I think that something like this must be provided:
If the user restoring the course isn't a global admin (able to edit any course, not sure if this is legacy:admin or legacy:teacher at site level...) ==> assign to him editing rights on course (legacy:teacher?), obviously ONLY if such user hasn't that role yet.
Else we'll have a lot of courses restored by people that, after restore, won't be able to edit it and that seems to be a wrong behaviour.
|
|
Description
|
Hi,
After fixing MDL-6084 (for 1.6.x) I've taken a look to the corresponding code under 1.7, just to see that the expected functionality is currently deleted, so, if the user restoring the course isn't in the restore file itself, he isn't able to handle the restored course! (originally this was MDL-2381 some months ago).
So I think that something like this must be provided:
If the user restoring the course isn't a global admin (able to edit any course, not sure if this is legacy:admin or legacy:teacher at site level...) ==> assign to him editing rights on course (legacy:teacher?), obviously ONLY if such user hasn't that role yet.
Else we'll have a lot of courses restored by people that, after restore, won't be able to edit it and that seems to be a wrong behaviour. |
Show » |
toyomoyo committed 1 file to 'Moodle CVS' - 10/Oct/06 11:17 AM
|