THe thing is I (and presumably others) want to to have our custom forms to let others set-up users etc. For this we need the API. On Thu, Mar 07, 2002 at 03:20:49PM -0500, Joel Burton wrote:
On Thu, 7 Mar 2002, Trevor Toenjes wrote:
This is a FAQ that I have never seen a good answer for... I have never found a how-to or any references to the API.
The best solutuion I have seen is to search for "User products" that implement their own way of doing things. (search for CookieCrumbler, XUF..etc.) And read the source. But this doesnt really help you with your question... "how to do it yourself."
IMHO, this is a shortcoming of Zope and since I am lobbying for this... :) Add your 2 cents in that "the acl_users API be extended for HTML login-forms, cookie auth, and extensible-properties-of-users" should be added to Z2.6. An API needs to be defined to deprecate all these user solutions that dont play well together.
Cheers, Trevor
Ummm... perhaps I'm missing something, but it's really quite easy with exUserFolder or CookieCrumbler. They provide login DTML forms and you can just customized them if you want to change their appearance. Don't have to get involved in the API at all to make this happen.
I think that extensible-properties-of-users, non-ZODB-authentication, and cookie-auth are all things that should be moved into the core. I'd root for exUserFolder for this; it's very flexible about where the data is stored, and uses extensible-user-properties.
--
Joel BURTON | joel@joelburton.com | joelburton.com | aim: wjoelburton Independent Knowledge Management Consultant
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- -------------------------------------------------------------------- Dr Zahid Malik Tel: +44 (0) 20 7594 6336 Research Fellow Fax: +44 (0) 20 7581 4419 Dept. of Electrical Eng. Email: z.malik@ic.ac.uk Imperial College http://infoeng.ee.ic.ac.uk/~malikz Exhibition Road London SW7 2BT