assertViewable in main_template
Joachim Schmitz <[email protected]>
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, in cpsskins_cps3/main_template.pt there is at the top: can_raise python:mtool.assertViewable(here); this raises the Unauthorized-exeception, if the user accesses an object which he is not allowed to see. what is intended here I assume, cause the enduser gets the Authentication box. What is the best way to catch this situation, and provide the user with not information at all. -- Mit freundlichen Grüßen Joachim Schmitz ...................................................................... AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851 Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163 _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel