1
0
Commit Graph

15 Commits

Author SHA1 Message Date
Tim Almdal
73bca7bfdb Implement the new add_user_to_group and remove_user_from_group api method calls. For the ldap provider just throw an Invalid Operation exception. 2009-10-29 19:17:34 -07:00
Tim Almdal
7a3fd9d2ed Add a flag in the module.info (no_module_admin) to indicate that this module shouldn't be managed by the default module administration screen. This module will always be locked on that screen. 2009-10-27 07:57:21 -07:00
Tim Almdal
9ea73e5eff Change the name of the get adminsitrator function to admin_user (it was easier to change it here than everywhere else." 2009-10-27 07:38:39 -07:00
Tim Almdal
93082a12f1 Add an get_admin_user api call and use it to determine the admin user instead of calling lookup by name with a hardcoded name. 2009-10-27 07:16:50 -07:00
Tim Almdal
0b3bb9a643 Forgot to check this in, which will help Bharat's review. 2009-10-25 10:47:08 -07:00
Tim Almdal
952322cd95 If the user name is "admin", then use the first user name in the 'admins' driver parameter. 2009-10-23 06:17:21 -07:00
Tim Almdal
57f331250d Change the name of identity library from Identity to IdentityProvider. Create a helper class called identity to simplify call the Identity Provider. Move the contents of MY_Session.php to the new helper class and remove the MY_Session class 2009-10-22 13:08:22 -07:00
Tim Almdal
5b62f010cc Convert methods to instance methods instead of static to be consistent with the Identity interface. Clean up a copy/paste error to get the auhtorized list of groups. 2009-10-21 16:06:29 -07:00
Tim Almdal
337265578b When activating the ldap identity provider, change the ownership of all items to the first defined admin user. Also remove unused files and debugging statements. 2009-10-21 08:25:43 -07:00
Tim Almdal
2ece7e92b2 Add lookup_group Identity provider API. 2009-10-20 17:20:22 -07:00
Tim Almdal
bd7f9e427f Add a groups api method on the Identity provider 2009-10-20 17:02:03 -07:00
Tim Almdal
7a53eeb3f4 Initial implementation of a Ldap identity provider 2009-10-20 16:34:03 -07:00
Tim Almdal
1f6c84ee0f Include the code to check the code by binding 2009-10-19 14:11:36 -07:00
Tim Almdal
0963c99eb8 2nd iteration of the ldap identity manager provider 2009-10-19 13:46:04 -07:00
Bharat Mediratta
46659e09e7 Modules that provides a UserGroupStorage driver for LDAP. To use it,
you have to manually update the config/ldap.php file, then go to Admin
> Settings > LDAP and activate it.

Very alpha quality!
2009-10-04 12:36:06 -07:00