[Grok-dev] grokgui.admin-0.5+megrok.login in Grok-1.0

Aroldo Souza-Leite asouzaleite at gmx.de
Fri Oct 30 10:19:13 EDT 2009

Hi Uli,

Uli Fouquet wrote:
> Hi Aroldo,
> Am Freitag, den 30.10.2009, 11:29 +0100 schrieb Aroldo Souza-Leite:
>> the grok-1.0.cfg official grokui.admin version is 0.3.2. But 
>> grokui.admin-0.5 seems to be working well in Grok-1.0 in a midsized 
>> application that was developed on former Grok versions and using 
>> megrok.login. Are there any known caveats or general Grok-1.0 
>> compatibility tests grokui.admin-0.5 + megrok.login-0.1 should undergo?
> There should be no problems with it. Naturally, grokui.admin 0.5 had an
> even stronger focus on recent grok 1.0 developments. So, I think it's
> secure to use 0.5 in your production environment :-)
> Best regards,
we did find a funny behaviour in the application: the manager user  
"grok" is now authenticated through megrok.login,
but further users with less rights are now refused entrance in the portal.

We can't compare  it with grokui.admin-0.3.2 in Grok-1.0 because with 
the official grokui.admin version the site raises an error at start (see 
zopectl debug snapshot below).

Best regards,



Traceback (most recent call last):
line 60, in debug
    globs = zglobals(options.configroot)
line 81, in ensureUtility
    if (reg.provided.isOrExtends(interface) and reg.name == name)]
AttributeError: type object 'ISecurityNotifier' has no attribute 
-> if (reg.provided.isOrExtends(interface) and reg.name == name)]
(Pdb) l
 76                            "supported after Zope 3.5",
 77                            DeprecationWarning, 2)
 79          sm = root_folder.getSiteManager()
 80          utils = [reg for reg in sm.registeredUtilities()
 81  ->                 if (reg.provided.isOrExtends(interface) and 
reg.name == name)]
 82          if len(utils) == 0:
 83              return addConfigureUtility(
 84                  root_folder, interface, utility_type, utility_factory,
 85                  name, asObject, **kw
 86                  )
(Pdb) reg.provided
<class 'grokui.admin.interfaces.ISecurityNotifier'>
(Pdb) type(reg.provided)
<type 'type'>

More information about the Grok-dev mailing list