[Zope] Access error with
"manage_copyObjects / manage_pasteObjects" with proxy roles
AnThu Nguyen
Anthu.Nguyen at Sun.COM
Mon Jul 17 12:21:09 EDT 2006
Thanks for the instructions Jonathan.
The user does have "Copy or Move" permissions from /Products/ on down.
Here's the traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 323, in _exec
Module None, line 29, in dd_add
- <PythonScript at /Products/snewt_edit/dd_add used for /Products/Aproduct2/DD/1/nta20060711161944Folder>
- Line 29
Unauthorized: You are not allowed to access 'manage_copyObjects' in this context
TIA,
AnThu
Jonathan wrote On 07/17/06 08:53 AM,:
>
> ----- Original Message ----- From: "AnThu Nguyen" <Anthu.Nguyen at Sun.COM>
> To: <zope at zope.org>
> Sent: Monday, July 17, 2006 11:45 AM
> Subject: [Zope] Access error with "manage_copyObjects /
> manage_pasteObjects" with proxy roles
>
>
>> Hi,
>>
>> I'm getting the following error when I try to run a script via a
>> non-manager proxy role (running the script as a manager works fine):
>>
>> *Error Type: Unauthorized*
>> *Error Value: You are not allowed to access 'manage_copyObjects' in
>> this context*
>>
>> *I'm using v2.8.1*, and there is no traceback about this error in the
>> event log.
>
>
> To view 'unauthorized' errors you need to go to the error_log (ZMI,
> root folder) and remove the 'Unauthorized' entry from 'Ignored
> exceptions types'.
>
>
>
> Jonathan
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list