Thursday, April 25, 2013

Moodle <=< Mediawiki SUL integration - first thoughts

Deutsch: Logo der freien Software Moodle moddl...
SUL is Wikipedia's Single User Login system

The goal is to use it to authenticate moodle users

there is one caveat - what happen if  the moodle user has no account.

Moodle and MediaWiki account creation require different information.

Since we'd like to use MediaWiki's standard which is highly permissive. It is necessary to change  moodle's requirements.


  • Moodle does not explicitly define an object for setting registration requirements. 
  • This needs to be accomplished by admins via edit a number of files manually. 
    • errors will place the users in a limbo/blocked state...
  • This is implemented differently on different version of moodle.
  • This will break if the changes are overwritten by a system is upgrade.


Ideally Moodle should have a registration policy object which allows the admin to define which fields are required and if they need to be unique. For example Moodle complains if different users share an email adress. Since gmail supports option '.' in the user name this is a possible hack. However unless e-mail is a primary key in the DB then it is not necessary to keep it unique.

Adding registration policy will also require either a configuration file for storing the bussiness rules (settings) or even a UI to control these, as well as handling of users who do not have full details.


No comments:

Post a Comment