Re: [zope2] Help needed with security checks and add views

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization Clark Consulting & Research
Message-ID <[email protected]>
Am 26.06.2010, 18:24 Uhr, schrieb Hanno Schlichting <[email protected]>:

> In short Zope 2 never supported the permission attribute on ZCML
> browser:view declarations. It seems some people might have specified
> this attribute and assumed it would do something.

I'm not sure about this affects only views. I have just checked a Zope  
2.10 based site (with CMF) where pages are protected. They work as  
expected. More recent Zope 2.12 sites do not apply the same protection.

For an example try /members_manage_form on a Zope 2.12.4 + CMF 2.1 site.  
ie. the error may not be in the way declarations are handled but in the  
exception handling.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.