ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-Dev
zope-Dev
[Zope-dev] Zope 2.5: User limit for Local Security Role assignment list
by Matthew T. Kromer other posts by this author
Sep 28 2001 7:20PM messages near this date
Re: [Zope-dev] RFC: two "enterprise zope" proposals | [Zope-dev] how to accept an arbitrary parameter/anti-NIMDA script
One of the things Zope 2.5 is going to do is limit the answers that are 
available from a user folder when presenting the local role dialog; this 
will prevent humongous lists from displaying and instead show a simple 
text box where a user ID can be typed.

However, for existing user folders, this poses a question of:  what's 
the reasonable number of users to list without having to go adjust a 
property on the folder?

The revised implementation will let you tune how many users to display 
before putting up an input box; but currently I've just defaulted it to 
'old behavior' -- ie show all the possible users.  Maybe a better thing 
to do would be to define a  default of 250 or so.  This would probably 
be large enough to not impact most sites, yet small enough to make it 
meaningful for those sites that do have enormous user folders.

It is also worth pointing out that local role assignment code doesn't 
enforce that the users for whom it has local roles exist in any current 
database; it is possible to grant rights to nonexistent users.  Before 
the ability to enter a name in directly was available, you would have 
had to explicitly change the form values manually -- but this exposes 
the problem.  I dont think it poses a problem (ie I dont believe Zope 
has ever tried to define a mechanism whereby objects are notified that a 
user for whom they have permissions has been deleted.)



_______________________________________________
Zope-Dev maillist  -  Zope-Dev@[...].org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved