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

Christian Klinger cklinger at novareto.de
Thu Nov 4 06:07:14 EDT 2010


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<janwijbrand<at>  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.
>
> <configure xmlns="http://namespaces.zope.org/zope"
>             xmlns:grok="http://namespaces.zope.org/grok">
>    <include package="grok" />
>    <includeDependencies package="." />
>    <grok:grok package="." />
>    <include package="zope.pluggableauth"/>
>    <include package="zope.pluggableauth.plugins" file="groupfolder.zcml" />
> </configure>
>
> Thanks
> --Shrek




More information about the Grok-dev mailing list