[Zope] userFolder that holds user's email
Peter Bengtsson
peterbe at gmail.com
Tue Jul 12 07:46:32 EDT 2005
> > but with additional fields. Do I have to write one myself or are there
> > already products that have this feature?
>
> SimpleUserFolder from http://www.simplistix.co.uk does exactly this :-)
Now I understand that I have reinvented the wheel :(
SimpleUserFolder was what I should I found BEFORE I developed my
IssueUserFolder for the Issuetrackerproduct.
Just one python question Chris, why do you do this::
class User(BasicUser):
def __init__(self,dict):
# bypass immutability
d = self.__dict__
d['__'] = dict['password']
del dict['password']
d['name'] = dict['name']
del dict['name']
d['roles'] = dict['roles']
del dict['roles']
d['extra'] = dict
What's wrong just doing
self.__ = dict['password']
??
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope
mailing list