[Grok-dev] grok 1.2 and session based auth.

Shrek Zhou zgwmike at gmail.com
Thu Nov 4 10:02:25 EDT 2010


Hi, Christian,

No, this event is not fired, and the
zope.pluggableauth.interfaces.IPrincipalCreated event is not fired. 
the principals are defined in site.zcml and created by
zope.principalregistry.principalregistry defineDefaultPrincipal, 
I don't see any event are fired there.

Thanks
--Shrek


Christian Klinger wrote:
> 
> Hey Shrek,
> 
> can you add a pdb or a print in the
> 
>     def specialGroups(event):
> 
> 
> event. You can find this module in 
> zope.pluggableauth/plugins/groupfolder.py We want to verify that this 
> event is fired for you.
> 
> Christian
> 
>> Jan-Wijbrand Kolman  gmail.com>  writes:
>>
>>>
>>> On 11/4/10 2:49 AM, Shrek Zhou wrote:
>>>> To Christian,
>>>>
>>>> I can not found groupfolder.zcml in that folder under
>>>> *.buildout/eggs/zope.pluggableauth-1.0.3-
>> py2.6.egg/zope/pluggableauth/plugins/
>>>
>>> Grok-1.2 still uses zope.pluggableauth-1.0.3 indeed. I'm not sure of the
>>> chronology of the Grok 1.2 release and the zope.pluggableauth 1.1
>>> anymore, but, if you were to say in your project's buildout.cfg:
>>>
>>> [versions]
>>> ...
>>> zope.pluggableauth = 1.1
>>> ...
>>>
>>> and then re-run ./bin/buildout, you should get the latest
>>> zope.pluggableauth *with* the aforementioned plugins.
>>>
>>> As Christian said, the subject of zope.pluggablauth and related have
>>> soke glitches concerning the correct configuration. I *think* this is
>>> being worked on as we speak during the Grok Forest Sprint.
>>>
>>> Thanks for keeping up with this and helping identifying the issues.
>>>
>>> Kind regards, jw
>>>
>>
>> I added them to my configure.zcml, but it still does not work.
>>
>>              xmlns:grok="http://namespaces.zope.org/grok">
>>    
>>    
>>    
>>    
>>    
>> 
>>
>> Thanks
>> --Shrek
> 
> 
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/grok-1.2-and-session-based-auth.-tp30124704p30132385.html
Sent from the Grok mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20101104/01190cd7/attachment.html 


More information about the Grok-dev mailing list