[Zope] ZClass Permission Mapping Problem

Albert Kinderman albert.kinderman@csun.edu
Tue, 05 Oct 1999 18:10:31 +0000


Hi:

I created a ZClass, memberClass.  When I create an instance, I can
modify its properties, but I cannot change its id (choosing rename from
the contents view of the containing folder).  The traceback is below. 
What permission mapping do I need to support rename?  This fails for me
as superuser, so I don't believe it is a matter of role permissions.

Thanks,

Al

The example is based on a member with id provost.
  

                     The object provost does not support this operation 

Traceback (innermost last):
  File /usr/local/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 214,
in publish_module
  File /usr/local/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 179,
in publish
  File /usr/local/Zope-2.0.1/lib/python/Zope/__init__.py, line 201, in
zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 165,
in publish
  File /usr/local/Zope-2.0.1/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: manage_renameObject)
  File /usr/local/Zope-2.0.1/lib/python/ZPublisher/Publish.py, line 102,
in call_object
    (Object: manage_renameObject)
  File /usr/local/Zope-2.0.1/lib/python/OFS/CopySupport.py, line 253, in
manage_renameObject
    (Object: ElementWithAttributes)
  File /usr/local/Zope-2.0.1/lib/python/OFS/CopySupport.py, line 374, in
_verifyObjectPaste
    (Object: ElementWithAttributes)
Copy Error: (see above)


-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Albert Kinderman              California State University, Northridge
albert.kinderman@csun.edu     Department of Management Science