Nuxeo mailing list archives
[Nuxeo-tickets] [Nuxeo Repository] #1772: Navigation Tree causes
Unauthorized when there is no Anonymous access in root folder
Nuxeo Repository
trac at nuxeo.com
Fri Oct 27 16:29:42 CEST 2006
#1772: Navigation Tree causes Unauthorized when there is no Anonymous access in
root folder
-------------------------+--------------------------------------------------
Reporter: scamps | Owner: jmorliaguet
Type: defect | Status: new
Priority: P2 | Milestone: CPS 3.4.3
Component: CPSPortlets | Version: TRUNK
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
The Navigation Tree Portlet causes a "Unauthorized" error when the
Anonymous access has been removed from the root folder of the Zope
instance The verbose security message is very strange:
"Unauthorized: Your user account does not have the required permission.
Access to None of None denied"
I've found the problem in browser.treenodeview.py, when trying a
restricted traverse using an absolute path (/cps/workspaces). I think
the patch I attach, converting this absolute path to a relative path
(cps/workspaces), is a good solution. If you agree, I can commit it to
trunk.
--
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1772>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.