[Zope] Re: User subclass??? was Re: [Zope] ZClass Permission MappingProblem

Albert Kinderman albert.kinderman@csun.edu
Tue, 05 Oct 1999 23:35:16 +0000


David Kankiewicz wrote:
> 
> 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)

This isn't my problem.  This is not a user object, since my members are
simple objects to represent members of committees in my place of
employment, not members of a community of users of a web site.  I just
want to make it easy for secretaries to be able to create member lists
and change properties (name, department, phone number, etc). 

Al 

> 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..

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