[Grok-dev] Unauthorized, but only on the upgraded Grok project (bug in 1.0b2?)

Lacko Roman rlacko at gratex.com
Wed Oct 21 18:43:26 EDT 2009

I upgraded my old grok project from v. 0.14 to v. 1.0 and i have same problem,
but when i replaced in file site.zcml this:
      <grant permission="zope.View"
             principal="zope.Anybody" />
      <grant permission="zope.app.dublincore.view"
             principal="zope.Anybody" />
with this:
      <grant permission="zope.View"
             principal="zope.Everybody" />
      <grant permission="zope.app.dublincore.view"
             principal="zope.Everybody" />
it worked.
But i don't understand why :)

Roman Lacko

From: grok-dev-bounces at zope.org [grok-dev-bounces at zope.org] On Behalf Of Sebastian Ware [sebastian at urbantalk.se]
Sent: Tuesday, October 06, 2009 12:59 PM
To: Jan-Wijbrand Kolman
Cc: grok-dev at zope.org
Subject: Re: [Grok-dev] Unauthorized,   but only on the upgraded Grok project (bug in 1.0b2?)

On 6 okt 2009, at 12.25, Jan-Wijbrand Kolman wrote:

> Now, what I still do not really understand about this situation is
> that
> you said you have added...
>   <grant permission="zope.View" principal="zope.Anybody" />
> ...to your project's site.zcml file. And this apparently still made
> the
> Login view to require authentication. I wonder if the "grant" somehow
> was not picked up by your project? Or if this "grant" is not enough
> for
> in certain situations?

It was added by grokproject. I have double checked and this permission
is in fact in the buildout.cfg file of the project and has been
written to site.zcml.

Mvh Sebastian

Grok-dev mailing list
Grok-dev at zope.org

More information about the Grok-dev mailing list