[Zope] Re: manager can, proxy role manager cannot
Lee Harr
missive@hotmail.com
Fri, 10 Jan 2003 14:02:39 +0000
>>I have a script which wants to create a new folder object in a
>>folder which is only viewable and accessible to manager role.
>[snip]...
>>When I access this script, even though I have set it to
>>proxy as manager, I get the login/password box.
>>If I go ahead and put in my username & password, it works.
>
>Have you set the 'View' permission for the script accessible by
>anonymous ?
Yes, the script is in a folder in which all objects are
'View'able anonymously. Just to test, though, I set the
View permission to Anonymous, and still no go.
If I cancel out of the login box, this is the end of the error
message:
File /usr/local/www/Zope/lib/python/Products/PythonScripts/PythonScript.py,
line 363, in _exec
(Object: add2)
(Info: ({'script': <PythonScript instance at 8dba9c0>, 'context': <Folder
instance at 8dab620>, 'container': <Folder instance at 8dab620>,
'traverse_subpath': []}, (), {}, None))
File Script (Python), line 7, in add2
(Object: guarded_getattr)
File /usr/local/www/Zope/lib/python/OFS/CopySupport.py, line 334, in
manage_clone
(Object: people)
File /usr/local/www/Zope/lib/python/OFS/CopySupport.py, line 415, in
_verifyObjectPaste
(Object: people)
Unauthorized: Add Folders
Thank you for your help.
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*
http://join.msn.com/?page=features/virus