-----Original Message----- From: Alexander Staubo [mailto:alex@mop.no] Sent: Thursday, June 10, 1999 9:58 PM To: zope-dev@zope.org Subject: [Zope-dev] Suggestion: Full name attribute for user objects
It would be very cool if user objects (that is to say User.BasicUser) could have a "fullname"-type attribute. This would also fit well in with other authentication schemes such as Windows NT, where users have a full name in addition to a login name.
While I know I can name my users "John Doe" instead of "john" or "johnd", that's a pain for my users to enter in the login box -- think about those who have long names or middle initials. On the other hand, things like "john" isn't descriptive enough when we need a display name; for example, consider a simple document management system, where you define system users in an acl_user folder and tie the user name to documents' "owner" and "author" properties. In such cases display names would be very handy. Sure, I can create a TinyTable for looking up display names, but this isn't half as elegant or flexible.
I don't think the addition of such an attribute would break any code, either.
If nobody minds this little addition, I can probably devise a patch myself.
Thanks for the entusiasm, but there's no need. The membeship system will allow you to assign arbitrary properties to member objects. Of course, you can hard code in Full Name if you don't want to wait. -Michel
-- Alexander Staubo http://www.mop.no/~alex/ "`Ford, you're turning into a penguin. Stop it.'" --Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(For non-developer, user-level issues, use the companion list, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )