[Grok-dev] Fwd: LoginDemo - note or fix required
Sebastian Ware
sebastian at urbantalk.se
Fri Jan 22 05:39:32 EST 2010
Hi Luciano!
There is a bug in grokproject that sets up permissions wrong for
views. Could you mention this in the Readme.txt of your sample
project. It can save newcomers some frustration.
http://svn.zope.org/grokapps/PlainLoginDemo/
Text from Kathy:
"""
> Currently, when you easy_install grokproject, it sets up with Grok
> 1.0.
> BUT the default security sets up zope.Anybody with zope.View, when it
> needs to be zope.Everybody when using Grok 1.0 (as I found out
> eventually
> thanks to records of this mailing list...)
"""
Mvh Sebastian
Vidarebefordrat brev:
> Från: "Kathy Manwaring" <kathy at perfectnotes.com.au>
> Datum: to 21 jan 2010 23.19.26 GMT+01:00
> Till: grok-dev at zope.org
> Ämne: [Grok-dev] LoginDemo - note or fix required
> Svara till: kathy at perfectnotes.com.au
>
> Hi all,
>
> Having just struggled with this, could someone please at least put a
> note
> in the readme.txt for this entry in grokapps (and PlainLoginDemo too).
>
> Currently, when you easy_install grokproject, it sets up with Grok
> 1.0.
> BUT the default security sets up zope.Anybody with zope.View, when it
> needs to be zope.Everybody when using Grok 1.0 (as I found out
> eventually
> thanks to records of this mailing list...)
>
> So please either change the site.zcml.in file in the demo app, OR at
> least
> put a note in the readme.txt that if you are using Grok 1.0, you
> need to
> change the site.zcml.in yourself.
>
> This will save anyone else from testing the demo app and having a
> mysterious 'Unauthorised' error appear. (I then wasted another day
> trying
> to find another demo with security included, but of course they all
> have
> the same code, as this works if you have the background setup
> correct!)
>
> Thanks
> Kathy
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list