Open lsproc opened 12 years ago
Ok looking at it this would not be possible... Ldap module allows the option of authenticating with Drupal auth if ldap fails, maybe we could write a Drupal module to pull data off of newerpol for life/associate members and create Drupal users if they don't exist... Seems to be the easiest way! -> something for the future? Could be like an afternoons work... Probably don't have time -> would need some way of differentiating a life/associate member in the Drupal db from a member of the public who wants a hoodie: these cannot buy memberships... --> use the club shop restrictions module to make sure people exist in newerpol seems sensible! ---> actually this is essential! As joe public will probably be able to register at launch... Must do this!
Hmmm then do we need to fail registrations for users who register with a username equal to a username or CID in newerpol? Yes!! Find out how...
Do we need to see if a persons associate membership has lapsed, or if they have left college without life membership but are still in newerpol? Yes, not our problem though, I say we leave this for now and just do the registration blocker and stuff in club item bit.
Just a few ramblings:
The ldap module theoretically authenticates using hook_auth.
If it does, then it would be possible to write another module to do auth, also hooking into hook_auth which would run if ldap fails, that way if the user isn't in college's directory any more, we can use CID/dob login by writing our own code to ask newerpol/whatever associate/life members use...
This is something for the future?