[Zope] users, properties and roles
David Hassalevris
bluepaul at earthlink.net
Tue Jun 15 17:28:57 EDT 2004
Hey John,
I wrote something that tracked new roles, eg 'accountant', 'management', etc
and other information about users. I found that using simpleUserFolder and
hooking it up to an external DB (interbase) gave me everything I needed -
plus easier portibility.
David
ps if you decide to test out simpleUserFolder DO NOT test it in zope/root
but in a test subdirectory - otherwise you might lock yourself out of Zope.
----- Original Message -----
From: "John Hunter" <jdhunter at ace.bsd.uchicago.edu>
To: "Zope Users" <zope at zope.org>
Sent: Tuesday, June 15, 2004 1:46 PM
Subject: [Zope] users, properties and roles
>
> I am writing a zope2 workflow product. There are a variety of roles
> in the flow: a researcher, administrator, reviewer. I am in the very
> early stages of implementing the product and am wondering how to best
> reuse zope's users and rolls.
>
> For example, I would like to have extra properties on my users, say an
> email address, contact phone etc. Is it good practice to subclass
> AccessControl.User.BasicUser and BasicUserFolder to add properties to
> the user?
>
> Is it good practice to add the additional roles (researcher, reviewer)
> within the standard manage_access framework? In out project, these
> roles can overlap (you can be a researcher and a reviewer on different
> projects in the same workflow) and do determine access level
> information.
>
> I've looked over the User Management products at zope.org. Does one
> or more of these come recommended to support, for example, easy
> addition of user properties as described above?
>
> Thanks for any and all advice!
> John Hunter
>
> Zope-2.7
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list