fix creation of group folder

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3900 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-06-14 10:13:06 +00:00
parent d014f5bead
commit a8c46b6fc8

View file

@ -63,7 +63,7 @@ def getGroupsFolder(context=None, name='gloops', create=False):
gf = getPrincipalFolder(authPluginId=name, ignoreErrors=True)
if gf is None and create:
pau = component.getUtility(IAuthentication, context=context)
gf = pau[name] = Groupfolder(name + '.')
gf = pau[name] = GroupFolder(name + '.')
pau.authenticatorPlugins = tuple(
list(pau.authenticatorPlugins) + ['name'])
return gf