[Zope-PTK] Announcing ZPatterns 0.4.3b1 and LoginManager 0.8.8b1

Phillip J. Eby pje@telecommunity.com
Thu, 19 Oct 2000 10:04:02 -0500


At 08:21 PM 10/18/00 -0700, Michael Bernstein wrote:
>"Phillip J. Eby" wrote:
>> 
>> Please note that Ty and I have not yet gotten around to back-porting the
>> contributed support for Zope's built-in local roles interface.  We are
>> thinking instead about adding a hotfix to LM to fix what we consider to be
>> a broken interface in Zope, actually.
>
>>From the LoginManager changes.txt page;
>http://www.zope.org/Members/tsarna/LoginManager/Help/CHANGES.txt
>
>  * Implemented the "rootUsers" patch internally to
>    LoginManager if it's not patched in the Zope itself.
>
>  * Implemented the local roles improvement patch
>    into LoginManager - supplied users (rootUsers
>    or LoginUsers).
>
>So which is it? Is the local roles fix in, or not?
>
>I'd also be very interested in hearingzopee about this
>broken interface in Zope.

This is a communication confusion.  The local roles improvement patch Ty
refers to in CHANGES.txt is my patch to make computed local roles practical
in Zope.  It has nothing to do with the Zope local roles UI, which is the
broken interface we refer to.

Zope's local roles UI uses a dropdown list to select a user to assign local
roles.  This does not scale for large sites or portals.  In our case, our
company intranet would have around 2500 users, and using a dropdown list to
select a user would be ludicrous, entirely aside from the fact that the
page size would be enormous.  Most of the "local roles support for LM"
discussion on the PTK list has revolved around getting LoginManager to
support this broken interface by providing a list of users.  While that's
useful for a small site, the only way to *really* support local roles in
the long run (and for large sites in the short run) is going to be to
change the Zope UI so that it can use an imported UI snippet in place of
the dropdown list.