[Zope] User subclass??? was Re: [Zope] ZClass Permission Mapping Problem Problem

David Kankiewicz kankie@thegrid.net
Tue, 05 Oct 1999 16:22:16 -0700


At 06:10 PM 10/5/99 +0000, you wrote:
>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
>
My guess is that you have subclassed User as a class in your ZClass?  If
that is the case it probably is related to the (undocumented, well if you
use the normal management interface you can't) fact, a User object can not
be renamed. I've been going through the available methods and haven't seen
any that can. (someone tell me I'm wrong? this should be available)

Has anyone been able to successfully subclass 'User' in a ZClass and get
the user authenticated? or is this a python only deal? In which case, why
does it show up in the SubClassable list??

I liked the idea of DTML and ZClasses being easily changeable :(, back to
learning more python.

David,
tone..