[Zope-CMF] CMF site without CookieCrumbler ?
Sylvain Thénault
Sylvain.Thenault at logilab.fr
Wed Oct 15 12:09:16 EDT 2003
On Wednesday 15 October à 16:26, Sylvain Thénault wrote:
> On Wednesday 15 October à 16:22, Sylvain Thénault wrote:
> > hi
> >
> > I would like to make a CMF site (actually plone) totally restricted to
> > registered user.
> > As anonymous users can not see the login form, I've removed the cookie
> > crumbler to have standard HTTP authentication. Now I can login to the
> > site but I've some weird attribute error when I try to edit some
> > content (for instance when trying to edit a document, I get "Attribute
> > error : check_id", where check_id is accessed from validate_id, and both
> > check_id and validate_id are python script in the script path).
> >
> > This is using python 2.2.3, Zope 2.6.2, CMF 1.3.2 and Plone 1.0.5.
Some more info : in the validate_id script, I've replaced
"context.check_id(id)" by "container.check_id(id)" and things worked
correctly ! It really looks like in the validate_id script, context has
no acquision wrapper...
With the original script and cookie authentication, every thing is ok
too.
Aaargl !
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
More information about the Zope-CMF
mailing list