A big enhancement for group lookup's
|Reported by:||bas||Owned by:||coderanger|
First is the plugin still maintained?
I have just installed this plugin for trac version 0,10 and 0.11. I have the same problem as ticket #1818. We have a central LDAP database with a lot of groups (+/- 4000). The plugin wil fetch all the groups and check if the user is a member of this group. This causes a lot ldap lookups.
I have done some optimization for this plugin. First we get the the permission list with:
permsys = PermissionSystem(self.ENV) perm_list = permsys.get_all_permissions()
And check if we have unix group and the username is a member of it. This reduce the ldap lookups. If you are interested i can attach the rewrite