[Zope-PAS] maxlistusers and OverflowError

Willi Langenberger wlang at wu-wien.ac.at
Thu Dec 9 18:23:30 EST 2004


According to Jens Vagelpohl:
> The OverflowError is supposed to be caught in the local role form that 
> is accessible from the Security ZMI tab. If the OverflowError happens 
> the form will show a simple text input widget to type in a user's ID 
> and not try to list all users from the user folder, which is a really 
> bad idea in many situations.

Thanks, Jens!

So, if i understand correctly, "maxlistusers" is only there for local
roles support. And the "get_valid_userids" method is a helper function
for the ZMI local role form. If silva uses it, it should use it in the
same way as that ZMI form...


\wlang{}

-- 
Willi.Langenberger at wu-wien.ac.at                Fax: +43/1/31336/9207
Zentrum fuer Informatikdienste, Wirtschaftsuniversitaet Wien, Austria


More information about the Zope-PAS mailing list