[Zope-Checkins] CVS: Releases/Zope/lib/python/AccessControl/dtml - listLocalRoles.dtml:1.5 userFolderProps.dtml:1.2
Matthew T. Kromer
matt@zope.com
Tue, 2 Oct 2001 12:16:25 -0400
Update of /cvs-repository/Releases/Zope/lib/python/AccessControl/dtml
In directory cvs.zope.org:/tmp/cvs-serv4296/dtml
Modified Files:
listLocalRoles.dtml userFolderProps.dtml
Log Message:
Change for 2.5 for user local role lists. acl_user folders now support a
maxlistusers property (managed from user folder properties tab) which
limits the number of roles that rolemanager's get_valid_users will return
before raising an OverflowError. The DTML for listLocalRoles will insert a
text box for user id entry if OverflowError is raised.
=== Releases/Zope/lib/python/AccessControl/dtml/listLocalRoles.dtml 1.4 => 1.5 ===
<td align="left" valign="top">
<div class="form-element">
+ <dtml-try>
<select name="userid" size="5">
<dtml-in get_valid_userids>
<option value="<dtml-var sequence-item html_quote>"><dtml-var
sequence-item></option>
</dtml-in>
</select>
+ <dtml-except OverflowError>
+
+ <input name="userid" size=10>
+
+ </dtml-try>
</div>
</td>
<td align="left" valign="top">
=== Releases/Zope/lib/python/AccessControl/dtml/userFolderProps.dtml 1.1 => 1.2 ===
</td>
</tr>
+<tr>
+ <td align="left" valign="center" class="form-label">
+ Role assignment presents search dialog when more users than N (-1 is always, 0 is never).
+ </td>
+ <td align="left" valign="center" class="form-element">
+ <input type=text name="maxlistusers" value="&dtml.missing-maxlistusers;" size=3>
+ </td>
+</tr>
</table>