|
Interface allowing an admistrator to specify which roles they permit a remote administrator to allocate.
Admin view of shell course.
Specify the course on a remote moodle that should provide the content for the local course.
Background process creating user profiles on remote moodle, and enroling users in required courses.
Proposed code changes.
Intend to apply this diff on head tomorrow This seems rushed ... anything that makes changes to core tables needs more review, Peter...
Petr Skoda has reverted this check-in for us for now.
I hoped that we would remove all mnet-isms from core db tables, instead even more were added. Sorry for the trouble. Petr Thanks Petr,
Despite appearances the upgrade was tested in general, but not the specific path which contained the old 'update_record' I had missed. Existing mnet code in 2.0 which creates the records the upgrade was intended to deal with is broken for postgres, -> no data -> no error in testing -> Sorry for the trouble, thanks for the time you spent rolling this back. I'm still keen to see if your concerns can be addressed, so I'd like to explore some of them a little further: I'm not sure what you mean by problems with localized strings - can you give me an example? I wasn't aware of a drive to move mnet specific fields out of core tables, but I can see that this makes sense. With a little work my patch could be changed to neutralize this concern. It makes sense to avoid changes that I will need to rework after enrolments changes, but I expect all enrolment plugins will need very similar changes, and I will have good examples to draw from. If I recall correctly, my patch did not change underlying mnet transport mechanism, so I didn't think this patch moved us either toward, or away from web services implementation. At present I'm trying to think my way through a plan as to if and how this patch, (and mnet enrolment/auth generally) could be dual-implemented so that it continues to work with moodle 1.9 remote peers over mnet, and can talk over web services to 2.0 remote peers, (under various scenarios). (the mnet channel could be fully removed later - 2.1?). Do you have any thoughts on this front? Under what conditions could we proceed with an improved patch, later performing the necessary changes to accommodate changed enrolment structure? PetEr |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Local administrator links local roles to either nothing, or a role that is published by the remote administrator.