[Zope-CMF] View permissions not triggering

Hanno Schlichting hanno at hannosch.eu
Sat Jun 26 10:57:31 EDT 2010


On Sat, Jun 26, 2010 at 4:08 PM, Charlie Clark
<charlie.clark at clark-consulting.eu> wrote:
> No, I mean the permission set in the zcml view registration. As previously
> discussed, I don't think "logged_in" and "logged_out" should be portal
> actions as they are states.

What exact zcml registration do you use? A browser:page or a
browser:view directive?

Browser pages should handle permissions just fine. Browser views don't
support the permission attribute in Zope2 / Five. This feature has
just never been implemented. See
https://bugs.launchpad.net/zope2/+bug/578326 for a recent report.

Hanno


More information about the Zope-CMF mailing list