Early look at the User/Auth module refactoring. It will look for a driver based on the contents of the user/config/user.php file. And load that driver based on the User_Driver interface. There is a default User_Gallery_Driver class that will provide the actual interface implementation. Replacing this driver will allow a completely different user and authentication implementation to be used... hopefully will reduce issues with embedding and other user management systems. Removed from unit tests so they will still run.

This commit is contained in:
Tim Almdal
2008-11-10 20:17:09 +00:00
parent ddf0a51900
commit 0a8d5edbdc
6 changed files with 451 additions and 65 deletions

View File

@@ -62,13 +62,13 @@ class Test_Controller extends Controller {
// this way. Uninstall modules first and core last. Ignore errors during uninstall.
try {
comment_installer::uninstall();
user_installer::uninstall();
// user_installer::uninstall();
core_installer::uninstall();
} catch (Exception $e) {
}
core_installer::install();
user_installer::install();
// user_installer::install();
comment_installer::install();
print new Unit_Test();