Nuxeo mailing list archives
[CPS-devel] assertViewable in main_template
Joachim Schmitz
js at aixtraware.de
Thu Dec 7 12:05:44 CET 2006
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
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.