[Zope] manage_clone + proxy_roles problem
carlo beccaria
becks@linux.it
Mon, 30 Jul 2001 18:21:16 +0200 (CEST)
hi.
i have this method "registrazione" with:
<dtml-call
"RESPONSE.redirect('http://host/manage_addProduct/myproduct/builder?op4mod=a&new_id=b')">
builder :
<dtml-with "manage_clone(_.getattr(builder,op4mod),REQUEST['new_id'])">
all works fine, but...
i need proxy_roles, anonymous user must have access to "builder".
builder have proxy_roles, with manager access.
if i try to get mymethod:
Site Error
An error was encountered while publishing this resource.
Unauthorized
Sorry, a site error occurred.
Traceback (innermost last):
File /home/becks/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
223, in publish_module
File /home/becks/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
187, in publish
File /home/becks/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
171, in publish
File /home/becks/Zope-2.3.2-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
(Object: builder)
File /home/becks/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: builder)
File /home/becks/Zope-2.3.2-src/lib/python/OFS/DTMLMethod.py, line 189,
in __call__
(Object: builder)
File
/home/becks/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_String.py, line
538, in __call__
(Object: builder)
File /home/becks/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_With.py,
line 133, in render
(Object: manage_clone(_.getattr(builder,op4mod),REQUEST['new_id']))
File /home/becks/Zope-2.3.2-src/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval
(Object: manage_clone(_.getattr(builder,op4mod),REQUEST['new_id']))
(Info: builder)
File <string>, line 0, in ?
File /home/becks/Zope-2.3.2-src/lib/python/OFS/CopySupport.py, line 333,
in manage_clone
(Object: Traversable)
File /home/becks/Zope-2.3.2-src/lib/python/OFS/CopySupport.py, line 414,
in _verifyObjectPaste
(Object: Traversable)
Unauthorized: Add Folders
with manager password , all works...
i have zope2.3.3, python 1.5.2
"registrazione" folder, have site root and acl_user, i have try without,
but is the same.
why?
tnx
carlo