I think it doesn't anyway, but I am not sure which is why I am posting here.
To investigate MDL-6739 I had to log out and log in, I could not do it all logged in as admin, and using the switch role interface.
Also, you can't backup role definitions, or at least if one can, I can't see how.
There are notices if you try to restore the attached file. (Map the two custom roles to teacher.)
Also, it would be really really helpful if you could create roles starting by copying an existing role like teacher, then changing a few options, rather than having to tick a lot of boxes yourself.
Not only is there a problem with backing up role assignments, I think there is a general problem with role assignments not updating in the db. E.g., if I assign a role as teacher of a course, then "unassign" that role, then later when logging in I get error messages and have to manually delete the old role assignment from the db.
Hi Tim,
The role definitions are only restored if they are actually used in the course (someone having a role assignement in the course, activities, blocks etc). So in normal situations roles such as admin or course creators are unlikely to be restored.
Just filed MDL-7392 for you. Should be able to get it in for 1.7.1
Cheers,
Yu
The role definitions are only restored if they are actually used in the course (someone having a role assignement in the course, activities, blocks etc). So in normal situations roles such as admin or course creators are unlikely to be restored.
Just filed MDL-7392 for you. Should be able to get it in for 1.7.1

Cheers,
Yu