Hi, I've created a class which inherits from CatalogPathAware and Folder. When I try to copy and then paste objects of this class in the cms an Unauthorized Error is raised. Error Type: Unauthorized Error Value: You are not allowed to access 20030624142142 in this context * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module OFS.CopySupport, line 146, in manage_pasteObjects * Module OFS.CopySupport, line 347, in _verifyObjectPaste I've installed the VerboseSecurity product, but it didn't take me much further. Error Type: Unauthorized Error Value: 20030624142142 -- The object is marked as private. Access to None of (Berichtverwaltung instance at 8b01610), acquired through None, denied. Any ideas why I can't paste my object. MfG Steffen -- Zu sagen 'Hier herrscht Freiheit' ist immer ein Irrtum oder auch eine Lüge -- Freiheit herrscht nicht (Erich Fried)
Steffen Hausmann wrote at 2003-7-1 21:29 +0200:
... Error Type: Unauthorized Error Value: You are not allowed to access 20030624142142 in this context
* Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module OFS.CopySupport, line 146, in manage_pasteObjects * Module OFS.CopySupport, line 347, in _verifyObjectPaste
I've installed the VerboseSecurity product, but it didn't take me much further.
Error Type: Unauthorized Error Value: 20030624142142 -- The object is marked as private. Access to None of (Berichtverwaltung instance at 8b01610), acquired through None, denied.
Any ideas why I can't paste my object.
Looking at line 347 of "OFS.Copysupport" and carefully reading the "VerboseSecurity" message, it appears as if the "Berichtverwaltung" "object" were private. It probably lacks a "security.declareObjectProtected(...)" declaration. Dieter
On Fri, Jul 04, 2003 at 09:20:15PM +0200, Dieter Maurer wrote:
Steffen Hausmann wrote at 2003-7-1 21:29 +0200:
... Error Type: Unauthorized Error Value: You are not allowed to access 20030624142142 in this context
* Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module OFS.CopySupport, line 146, in manage_pasteObjects * Module OFS.CopySupport, line 347, in _verifyObjectPaste
I've installed the VerboseSecurity product, but it didn't take me much further.
Error Type: Unauthorized Error Value: 20030624142142 -- The object is marked as private. Access to None of (Berichtverwaltung instance at 8b01610), acquired through None, denied.
Any ideas why I can't paste my object.
Looking at line 347 of "OFS.Copysupport" and carefully reading the "VerboseSecurity" message, it appears as if the "Berichtverwaltung" "object" were private. It probably lacks a "security.declareObjectProtected(...)" declaration.
You're right. I didn't know that there is such a security declaration and I can't remember having read about it in the Zope Bible. Thanks. MfG Steffen -- Zu sagen 'Hier herrscht Freiheit' ist immer ein Irrtum oder auch eine Lüge -- Freiheit herrscht nicht (Erich Fried)
Steffen Hausmann wrote at 2003-7-5 16:49 +0200:
...
It probably lacks a "security.declareObjectProtected(...)" declaration.
I didn't know that there is such a security declaration and I can't remember having read about it in the Zope Bible.
The Zope Developer Guide is the primary source of information when you develop products. Dieter
participants (2)
-
Dieter Maurer -
Steffen Hausmann